snabbdom
Version:
A virtual DOM library with focus on simplicity, modularity, powerful features and performance.
8 lines (7 loc) • 312 B
TypeScript
import { Module } from "./module.js";
export type ElementStyle = Partial<CSSStyleDeclaration>;
export type VNodeStyle = ElementStyle & Record<string, string> & {
delayed?: ElementStyle & Record<string, string>;
remove?: ElementStyle & Record<string, string>;
};
export declare const styleModule: Module;