UNPKG

666 BTypeScriptView Raw
1import { Bounds, Option } from '@glimmer/interfaces';
2import { DOMTreeConstruction } from '@glimmer/runtime';
3import { SimpleDocument, SimpleElement, SimpleNode } from '@simple-dom/interface';
4export default class NodeDOMTreeConstruction extends DOMTreeConstruction {
5 protected document: SimpleDocument;
6 constructor(doc: Option<SimpleDocument>);
7 protected setupUselessElement(): void;
8 insertHTMLBefore(parent: SimpleElement, reference: Option<SimpleNode>, html: string): Bounds;
9 createElement(tag: string): SimpleElement;
10 setAttribute(element: SimpleElement, name: string, value: string): void;
11}
12//# sourceMappingURL=node-dom-helper.d.ts.map
\No newline at end of file