taggedjs
Version:
tagged template reactive html
4 lines (3 loc) • 335 B
TypeScript
import { StateSet } from './states.utils.js';
/** Used for variables that need to remain the same variable during render passes. If defaultValue is a function it is called only once, its return value is first state, and let value can changed */
export declare function states(setter: (set: StateSet, direction?: number) => any): void;