UNPKG

html-spec-tags

Version:

All HTML tags supported by the current spec. With types!

143 lines (142 loc) 3.54 kB
/** * A string literal type that only matches the MathML spec tag names. * * @category Tag */ export type MathmlSpecTagName = keyof typeof mathmlSpecConstructorsByTagName; /** * All current MathML spec tag names mapped to their respective element constructors. * * Generated from `MathMLElementTagNameMap` in `typescript/lib/lib.dom.d.ts`: * https://raw.githubusercontent.com/microsoft/TypeScript/main/src/lib/dom.generated.d.ts * * @category Tag */ export declare const mathmlSpecConstructorsByTagName: { readonly annotation: { new (): MathMLElement; prototype: MathMLElement; }; readonly 'annotation-xml': { new (): MathMLElement; prototype: MathMLElement; }; readonly maction: { new (): MathMLElement; prototype: MathMLElement; }; readonly math: { new (): MathMLElement; prototype: MathMLElement; }; readonly merror: { new (): MathMLElement; prototype: MathMLElement; }; readonly mfrac: { new (): MathMLElement; prototype: MathMLElement; }; readonly mi: { new (): MathMLElement; prototype: MathMLElement; }; readonly mmultiscripts: { new (): MathMLElement; prototype: MathMLElement; }; readonly mn: { new (): MathMLElement; prototype: MathMLElement; }; readonly mo: { new (): MathMLElement; prototype: MathMLElement; }; readonly mover: { new (): MathMLElement; prototype: MathMLElement; }; readonly mpadded: { new (): MathMLElement; prototype: MathMLElement; }; readonly mphantom: { new (): MathMLElement; prototype: MathMLElement; }; readonly mprescripts: { new (): MathMLElement; prototype: MathMLElement; }; readonly mroot: { new (): MathMLElement; prototype: MathMLElement; }; readonly mrow: { new (): MathMLElement; prototype: MathMLElement; }; readonly ms: { new (): MathMLElement; prototype: MathMLElement; }; readonly mspace: { new (): MathMLElement; prototype: MathMLElement; }; readonly msqrt: { new (): MathMLElement; prototype: MathMLElement; }; readonly mstyle: { new (): MathMLElement; prototype: MathMLElement; }; readonly msub: { new (): MathMLElement; prototype: MathMLElement; }; readonly msubsup: { new (): MathMLElement; prototype: MathMLElement; }; readonly msup: { new (): MathMLElement; prototype: MathMLElement; }; readonly mtable: { new (): MathMLElement; prototype: MathMLElement; }; readonly mtd: { new (): MathMLElement; prototype: MathMLElement; }; readonly mtext: { new (): MathMLElement; prototype: MathMLElement; }; readonly mtr: { new (): MathMLElement; prototype: MathMLElement; }; readonly munder: { new (): MathMLElement; prototype: MathMLElement; }; readonly munderover: { new (): MathMLElement; prototype: MathMLElement; }; readonly semantics: { new (): MathMLElement; prototype: MathMLElement; }; }; /** * All possible MathML spec tag names within a single array. * * @category Tag */ export declare const allMathmlSpecTagNames: ReadonlyArray<MathmlSpecTagName>;