UNPKG

reblendjs

Version:

ReblendJs uses Reactjs pradigm to build UI components, with isolated state for each components.

16 lines (15 loc) 488 B
type ElementStyles = { [elementQuerySelector: string]: CSSStyleDeclaration; }; declare class StyleUtil { static instance: StyleUtil; elementStyles: ElementStyles; styleElement: HTMLStyleElement; constructor(); init(): void; update(elementQuerySelector: string, style: CSSStyleDeclaration | string): void; remove(elementQuerySelector: string, styleKey: string): void; refresh(): void; } export { type StyleUtil as StyleUtilType }; export { StyleUtil };