UNPKG

vasille

Version:

The first Developer eXperience Orientated front-end framework (core library).

18 lines (17 loc) 653 B
import { Fragment } from "./node.js"; import { IValue } from "../core/ivalue.js"; import { Runner } from "./runner.js"; interface WatchOptions<Node, Element, TagOptions extends object, T> { model: IValue<T>; slot?: (ctx: Fragment<Node, Element, TagOptions>, value: T) => void; } /** * Watch Node * @class Watch * @extends Fragment */ export declare class Watch<Node, Element, TagOptions extends object, T> extends Fragment<Node, Element, TagOptions, WatchOptions<Node, Element, TagOptions, T>> { constructor(input: WatchOptions<Node, Element, TagOptions, T>, runner: Runner<Node, Element, TagOptions>); compose(): void; } export {};