Properties
Optional class
class?: ClassMoniker
Optional dir
dir?: "ltr" | "rtl"
Optional displaystyle
displaystyle?: "true" | "false"
Optional draggable
draggable?: "true" | "false"
Optional lang
lang?: string
Optional mathbackground
mathbackground?: CssColor
Optional mathcolor
mathcolor?: CssColor
Optional mathsize
mathsize?: CssLength
Optional mathvariant
mathvariant?: "bold" | "initial" | "normal" | "italic" | "bold-italic" | "double-struck" | "bold-fraktur" | "script" | "bold-script" | "fraktur" | "sans-serif" | "bold-sans-serif" | "sans-serif-italic" | "sans-serif-bold-italic" | "monospace" | "tailed" | "looped" | "stretched"
Optional role
role?: string
Optional scriptlevel
scriptlevel?: number | `+${number}` | `-${number}`
Optional style
style?: string | Styleset
Optional tabindex
tabindex?: number
Optional xmlns
xmlns?: string
Combines
aria-*
properties into one object, so that it is easier (less verbose) to specify them. When this object is serialized to HTML element, each property name is converted to dash-style and prefixed with thearia-
string. The values are always converted to strings according to the following rules: