@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) • 758 B
TypeScript
import { DOMApi } from './dom-api';
export declare class MathMLBrowserDOMApi 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(_: any, __: any): 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;
}