UNPKG

vasille

Version:

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

19 lines (18 loc) 723 B
import { Binding } from "./binding.js"; import type { INode } from "../../../node/node.js"; import type { IValue } from "../../../core/ivalue.js"; export declare function stringifyStyleValue(value: string | number | number[]): string; /** * Describes a style attribute binding * @class StyleBinding * @extends Binding */ export declare class StyleBinding extends Binding<string | number | number[]> { /** * Constructs a style binding attribute * @param node {INode} the vasille node * @param name {string} the name of style property * @param value {IValue} the value to bind */ constructor(node: INode<Node, Element, object>, name: string, value: IValue<string | number | number[]>); }