UNPKG

@lifeart/gxt

Version:

<img align="right" width="95" height="95" alt="Philosopher’s stone, logo of PostCSS" src="./public/logo.png">

21 lines (19 loc) • 779 B
import { DOMApi } from './dom-api'; export declare class SVGBrowserDOMApi implements DOMApi { doc: Document; constructor(document: Document); isNode(node: Node): node is Node; destroy(node: Node): void; clearChildren(element: Node): void; parent(node: Node): ParentNode | null; comment(text?: string): Comment; fragment(): DocumentFragment; addEventListener(_: Node, __: string, ___: EventListener): void; toString(): string; text(text: string): Text; textContent(node: Node, text: string): void; element(tagName: string): SVGElement; attr(element: SVGElement, name: string, value: string): void; prop(element: SVGElement, name: string, value: string): void; insert(parent: SVGElement, child: SVGElement): void; }