UNPKG

imsc

Version:

Renders IMSC documents to HTML5 fragments

25 lines • 576 B
export type Attribute = { name: string; prefix: string | null; local: string | null; uri: string | null; value: string | null; }; export type Node = { name: string; prefix: string | null; local: string | null; uri: string | null; value: string | null; attributes: { [x: string]: Attribute; }; }; export type Parser = { write: (xml: string) => Parser; close: () => Parser; onopentag: (node: Node) => void; ontext: (text: string) => void; onclosetag: () => void; }; //# sourceMappingURL=parser.d.ts.map