UNPKG

@crunchya/element_builder

Version:

An HTMLElement builder for node.js

13 lines (12 loc) 491 B
declare class CustomHtmlElement { name: string; classes: Array<string>; attributes: Array<{name: string, value: string}>; children: Array<HTMLElement>; content: string; private _element: HTMLElement; constructor(name: string, classes: Array<string>, attributes: Array<{name: string, value: string}>, children: Array<HTMLElement>, content: string); webify: () => CustomHtmlElement; getElement: () => HTMLElement; } export { CustomHtmlElement }