mostly-dom
Version:
A virtual-dom for TypeScript
8 lines (7 loc) • 526 B
TypeScript
import { ElementVNode, Module } from '../';
export declare function createStylesModule(): Module;
declare function setRequestAnimationFrame(): void;
declare function updateStyle(formerVNode: ElementVNode, vNode: ElementVNode): void;
declare function applyDestroyStyle(vNode: ElementVNode): void;
declare function applyRemoveStyle(vNode: ElementVNode, callback: Function): any;
export { setRequestAnimationFrame as pre, updateStyle as create, updateStyle as update, applyDestroyStyle as destroy, applyRemoveStyle as remove, };