UNPKG

vasille

Version:

The same framework which is designed to build bulletproof frontends (core library).

14 lines (13 loc) 675 B
import { Binding } from "./binding.js"; import type { INode } from "../../../node/node.js"; import type { IValue } from "../../../core/ivalue.js"; export declare function addClass(node: INode<Node, Element, object>, cl: string): void; export declare function removeClass(node: INode<Node, Element, object>, cl: string): void; export declare class StaticClassBinding extends Binding<boolean> { private current; constructor(node: INode<Node, Element, object>, name: string, value: IValue<boolean>); } export declare class DynamicalClassBinding extends Binding<string> { private current; constructor(node: INode<Node, Element, object>, value: IValue<string>); }