Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IHtmlElementAttrs
    • IHtmlCodeElementAttrs

Index

Properties

Optional accesskey

accesskey?: string | string[]

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 autocapitalize

autocapitalize?: "none" | "off" | "on" | "sentences" | "words" | "characters"

Optional autofocus

autofocus?: boolean

Optional class

class?: ClassMoniker

Optional contenteditable

contenteditable?: boolean | "true" | "false"

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 dir

dir?: "ltr" | "rtl" | "auto"

Optional draggable

draggable?: "true" | "false"

Optional enterkeyhint

enterkeyhint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send"

Optional exportparts

exportparts?: string | string[]

Optional hidden

hidden?: boolean | "" | "hidden" | "until-found"

Optional id

Optional inert

inert?: boolean

Optional inputmode

inputmode?: "search" | "none" | "text" | "decimal" | "numeric" | "tel" | "email" | "url"

Optional is

is?: undefined

Optional itemid

itemid?: string

Optional itemprop

itemprop?: string

Optional itemref

itemref?: string | string[]

Optional itemscope

itemscope?: boolean

Optional itemtype

itemtype?: string

Optional lang

lang?: string

Optional nonce

nonce?: string

Optional part

part?: string | string[]

Optional resizeObserver

resizeObserver?: ResizeObserverAttrType

Optional role

role?: string

Optional slot

slot?: string

Optional spellcheck

spellcheck?: "true" | "false" | "default"

Optional style

style?: string | Styleset

Optional tabindex

tabindex?: number

Optional title

title?: string

Optional translate

translate?: boolean | "yes" | "no"

Optional xmlns

xmlns?: string