Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional aria

aria?: IAriaset

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 the aria- string. The values are always converted to strings according to the following rules:

  • strings are returned as is.
  • arrays are converted by converting their items using these rules and joining them with spaces.
  • everything else is converted by calling the toString method.

Optional class

class?: ClassMoniker

Optional dataset

dataset?: DatasetPropType

Combines data-* 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 the data- string. The values are always converted to strings according to the following rules:

  • strings are returned as is.
  • arrays are converted by converting their items using these rules and joining them with spaces.
  • everything else is converted by calling the toString method.

Optional depth

depth?: CssLength

Optional dir

dir?: "ltr" | "rtl"

Optional displaystyle

displaystyle?: "true" | "false"

Optional draggable

draggable?: "true" | "false"

Optional height

height?: CssLength

Optional id

Optional lang

lang?: string

Optional lspace

lspace?: CssLength

Optional mathbackground

mathbackground?: CssColor
deprecated

Optional mathcolor

mathcolor?: CssColor
deprecated

Optional mathsize

mathsize?: CssLength
deprecated

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 voffset

voffset?: CssLength

Optional width

width?: CssLength

Optional xmlns

xmlns?: string