MathMLIntrinsicElements
Attribute maps for every MathML element, keyed by the MathML tag name.
Attribute maps for every MathML element, keyed by the MathML tag name.
Import#
ts
import type { MathMLIntrinsicElements } from "@shadow-js/web";
Signature#
ts
interface MathMLIntrinsicElements {
/** The MathML `<a>` element: a hyperlink in MathML content. */
a: ElementProps<MathMLTagElement<"a">, MathMLGlobalAttributes>;
/** The MathML `<annotation>` element: an annotation in a non-XML format, such as TeX. */
annotation: ElementProps<
MathMLElementTagNameMap["annotation"],
MathMLGlobalAttributes & MathAnnotationAttributes
>;
"annotation-xml": ElementProps<
MathMLElementTagNameMap["annotation-xml"],
MathMLGlobalAttributes & MathAnnotationAttributes
>;
/** The MathML `<maction>` element: an action on its sub-expressions (legacy). */
maction: ElementProps<
MathMLElementTagNameMap["maction"],
MathMLGlobalAttributes & MathActionAttributes
>;
/** The MathML `<math>` element: the root of MathML content. */
math: ElementProps<MathMLElementTagNameMap["math"], MathMLGlobalAttributes & MathRootAttributes>;
/** The MathML `<merror>` element: a message about a syntax error. */
merror: ElementProps<MathMLElementTagNameMap["merror"], MathMLGlobalAttributes>;
/** The MathML `<mfrac>` element: a fraction. */
mfrac: ElementProps<
MathMLElementTagNameMap["mfrac"],
MathMLGlobalAttributes & MathFractionAttributes
>;
/** The MathML `<mi>` element: an identifier, such as a variable name. */
mi: ElementProps<MathMLElementTagNameMap["mi"], MathMLGlobalAttributes>;
/** The MathML `<mmultiscripts>` element: a base with prescripts and postscripts. */
mmultiscripts: ElementProps<
MathMLElementTagNameMap["mmultiscripts"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<mn>` element: a numeric literal. */
mn: ElementProps<MathMLElementTagNameMap["mn"], MathMLGlobalAttributes>;
/** The MathML `<mo>` element: an operator, fence or separator. */
mo: ElementProps<MathMLElementTagNameMap["mo"], MathMLGlobalAttributes & MathOperatorAttributes>;
/** The MathML `<mover>` element: a base with an overscript. */
mover: ElementProps<
MathMLElementTagNameMap["mover"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<mpadded>` element: content with adjusted space around it. */
mpadded: ElementProps<
MathMLElementTagNameMap["mpadded"],
MathMLGlobalAttributes & MathPaddedAttributes
>;
/** The MathML `<mphantom>` element: content that takes space but is invisible. */
mphantom: ElementProps<MathMLElementTagNameMap["mphantom"], MathMLGlobalAttributes>;
/** The MathML `<mprescripts>` element: the separator between postscripts and prescripts in mmultiscripts. */
mprescripts: VoidElementProps<
MathMLElementTagNameMap["mprescripts"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<mroot>` element: a radical with an index. */
mroot: ElementProps<MathMLElementTagNameMap["mroot"], MathMLGlobalAttributes>;
/** The MathML `<mrow>` element: a horizontal group of sub-expressions. */
mrow: ElementProps<MathMLElementTagNameMap["mrow"], MathMLGlobalAttributes>;
/** The MathML `<ms>` element: a string literal. */
ms: ElementProps<MathMLElementTagNameMap["ms"], MathMLGlobalAttributes & MathStringAttributes>;
/** The MathML `<mspace>` element: blank space of a given size. */
mspace: VoidElementProps<
MathMLElementTagNameMap["mspace"],
MathMLGlobalAttributes & MathSpaceAttributes
>;
/** The MathML `<msqrt>` element: a square root. */
msqrt: ElementProps<MathMLElementTagNameMap["msqrt"], MathMLGlobalAttributes>;
/** The MathML `<mstyle>` element: a style change that applies to its children. */
mstyle: ElementProps<MathMLElementTagNameMap["mstyle"], MathMLGlobalAttributes>;
/** The MathML `<msub>` element: a base with a subscript. */
msub: ElementProps<
MathMLElementTagNameMap["msub"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<msubsup>` element: a base with a subscript and a superscript. */
msubsup: ElementProps<
MathMLElementTagNameMap["msubsup"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<msup>` element: a base with a superscript. */
msup: ElementProps<
MathMLElementTagNameMap["msup"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<mtable>` element: a table or matrix. */
mtable: ElementProps<
MathMLElementTagNameMap["mtable"],
MathMLGlobalAttributes & MathTableAttributes
>;
/** The MathML `<mtd>` element: a cell of a mtable. */
mtd: ElementProps<MathMLElementTagNameMap["mtd"], MathMLGlobalAttributes & MathCellAttributes>;
/** The MathML `<mtext>` element: text with no notational meaning. */
mtext: ElementProps<MathMLElementTagNameMap["mtext"], MathMLGlobalAttributes>;
/** The MathML `<mtr>` element: a row of a mtable. */
mtr: ElementProps<MathMLElementTagNameMap["mtr"], MathMLGlobalAttributes & MathCellAttributes>;
/** The MathML `<munder>` element: a base with an underscript. */
munder: ElementProps<
MathMLElementTagNameMap["munder"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<munderover>` element: a base with an underscript and an overscript. */
munderover: ElementProps<
MathMLElementTagNameMap["munderover"],
MathMLGlobalAttributes & MathScriptAttributes
>;
/** The MathML `<semantics>` element: an expression paired with its annotations. */
semantics: ElementProps<MathMLElementTagNameMap["semantics"], MathMLGlobalAttributes>;
}
Members#
| Name | Type | Description |
|---|---|---|
a |
a: ElementProps<MathMLTagElement<"a">, MathMLGlobalAttributes> |
The MathML <a> element: a hyperlink in MathML content. |
annotation |
annotation: ElementProps< MathMLElementTagNameMap["annotation"], MathMLGlobalAttributes & MathAnnotationAttributes > |
The MathML <annotation> element: an annotation in a non-XML format, such as TeX. |
annotation-xml |
"annotation-xml": ElementProps< MathMLElementTagNameMap["annotation-xml"], MathMLGlobalAttributes & MathAnnotationAttributes > |
|
maction |
maction: ElementProps< MathMLElementTagNameMap["maction"], MathMLGlobalAttributes & MathActionAttributes > |
The MathML <maction> element: an action on its sub-expressions (legacy). |
math |
math: ElementProps<MathMLElementTagNameMap["math"], MathMLGlobalAttributes & MathRootAttributes> |
The MathML <math> element: the root of MathML content. |
merror |
merror: ElementProps<MathMLElementTagNameMap["merror"], MathMLGlobalAttributes> |
The MathML <merror> element: a message about a syntax error. |
mfrac |
mfrac: ElementProps< MathMLElementTagNameMap["mfrac"], MathMLGlobalAttributes & MathFractionAttributes > |
The MathML <mfrac> element: a fraction. |
mi |
mi: ElementProps<MathMLElementTagNameMap["mi"], MathMLGlobalAttributes> |
The MathML <mi> element: an identifier, such as a variable name. |
mmultiscripts |
mmultiscripts: ElementProps< MathMLElementTagNameMap["mmultiscripts"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <mmultiscripts> element: a base with prescripts and postscripts. |
mn |
mn: ElementProps<MathMLElementTagNameMap["mn"], MathMLGlobalAttributes> |
The MathML <mn> element: a numeric literal. |
mo |
mo: ElementProps<MathMLElementTagNameMap["mo"], MathMLGlobalAttributes & MathOperatorAttributes> |
The MathML <mo> element: an operator, fence or separator. |
mover |
mover: ElementProps< MathMLElementTagNameMap["mover"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <mover> element: a base with an overscript. |
mpadded |
mpadded: ElementProps< MathMLElementTagNameMap["mpadded"], MathMLGlobalAttributes & MathPaddedAttributes > |
The MathML <mpadded> element: content with adjusted space around it. |
mphantom |
mphantom: ElementProps<MathMLElementTagNameMap["mphantom"], MathMLGlobalAttributes> |
The MathML <mphantom> element: content that takes space but is invisible. |
mprescripts |
mprescripts: VoidElementProps< MathMLElementTagNameMap["mprescripts"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <mprescripts> element: the separator between postscripts and prescripts in mmultiscripts. |
mroot |
mroot: ElementProps<MathMLElementTagNameMap["mroot"], MathMLGlobalAttributes> |
The MathML <mroot> element: a radical with an index. |
mrow |
mrow: ElementProps<MathMLElementTagNameMap["mrow"], MathMLGlobalAttributes> |
The MathML <mrow> element: a horizontal group of sub-expressions. |
ms |
ms: ElementProps<MathMLElementTagNameMap["ms"], MathMLGlobalAttributes & MathStringAttributes> |
The MathML <ms> element: a string literal. |
mspace |
mspace: VoidElementProps< MathMLElementTagNameMap["mspace"], MathMLGlobalAttributes & MathSpaceAttributes > |
The MathML <mspace> element: blank space of a given size. |
msqrt |
msqrt: ElementProps<MathMLElementTagNameMap["msqrt"], MathMLGlobalAttributes> |
The MathML <msqrt> element: a square root. |
mstyle |
mstyle: ElementProps<MathMLElementTagNameMap["mstyle"], MathMLGlobalAttributes> |
The MathML <mstyle> element: a style change that applies to its children. |
msub |
msub: ElementProps< MathMLElementTagNameMap["msub"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <msub> element: a base with a subscript. |
msubsup |
msubsup: ElementProps< MathMLElementTagNameMap["msubsup"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <msubsup> element: a base with a subscript and a superscript. |
msup |
msup: ElementProps< MathMLElementTagNameMap["msup"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <msup> element: a base with a superscript. |
mtable |
mtable: ElementProps< MathMLElementTagNameMap["mtable"], MathMLGlobalAttributes & MathTableAttributes > |
The MathML <mtable> element: a table or matrix. |
mtd |
mtd: ElementProps<MathMLElementTagNameMap["mtd"], MathMLGlobalAttributes & MathCellAttributes> |
The MathML <mtd> element: a cell of a mtable. |
mtext |
mtext: ElementProps<MathMLElementTagNameMap["mtext"], MathMLGlobalAttributes> |
The MathML <mtext> element: text with no notational meaning. |
mtr |
mtr: ElementProps<MathMLElementTagNameMap["mtr"], MathMLGlobalAttributes & MathCellAttributes> |
The MathML <mtr> element: a row of a mtable. |
munder |
munder: ElementProps< MathMLElementTagNameMap["munder"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <munder> element: a base with an underscript. |
munderover |
munderover: ElementProps< MathMLElementTagNameMap["munderover"], MathMLGlobalAttributes & MathScriptAttributes > |
The MathML <munderover> element: a base with an underscript and an overscript. |
semantics |
semantics: ElementProps<MathMLElementTagNameMap["semantics"], MathMLGlobalAttributes> |
The MathML <semantics> element: an expression paired with its annotations. |