UNPKG

domsubi

Version:

A Virtual-DOM Library for JavaScript

12 lines (11 loc) 505 B
import { jsxmlComponent } from "./jsxmlComponent"; import { jsxmlComponentVisitor } from "./jsxmlComponentVisitor"; import { AttrValue, DOMSource } from "./types"; export declare class jsxmlAttr extends jsxmlComponent { element: Element; name: string; prevValue?: AttrValue; constructor(element: Element, name: string, source: AttrValue, old_source?: AttrValue, parent?: jsxmlComponent); migrate(v: DOMSource): jsxmlAttr; accept(visitor: jsxmlComponentVisitor): void; }