Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional accept

accept?: string

Optional accesskey

accesskey?: string | string[]

Optional alt

alt?: 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 autocomplete

autocomplete?: string

Optional autofocus

autofocus?: boolean

Optional capture

capture?: "user" | "environment"

Optional checked

checked?: CheckedPropType

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 defaultChecked

defaultChecked?: CheckedPropType

Optional defaultValue

defaultValue?: string

Optional dir

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

Optional dirname

dirname?: string

Optional disabled

disabled?: boolean

Optional draggable

draggable?: "true" | "false"

Optional enterkeyhint

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

Optional exportparts

exportparts?: string | string[]

Optional form

form?: IDPropType

Optional formaction

formaction?: string

Optional formenctype

formenctype?: FormenctypePropType

Optional formmethod

formmethod?: FormmethodPropType

Optional formnovalidate

formnovalidate?: boolean

Optional formtarget

formtarget?: string

Optional height

height?: number

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 list

list?: IDPropType

Optional max

max?: string | number | Date

Optional maxlength

maxlength?: number

Optional min

min?: string | number | Date

Optional minlength

minlength?: number

Optional multiple

multiple?: boolean

Optional name

name?: string

Optional nonce

nonce?: string

Optional part

part?: string | string[]

Optional pattern

pattern?: string | RegExp

Optional placeholder

placeholder?: string

Optional readonly

readonly?: boolean

Optional required

required?: boolean

Optional resizeObserver

resizeObserver?: ResizeObserverAttrType

Optional role

role?: string

Optional size

size?: number

Optional slot

slot?: string

Optional spellcheck

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

Optional src

src?: string

Optional step

step?: number | "any"

Optional style

style?: string | Styleset

Optional tabindex

tabindex?: number

Optional title

title?: string

Optional translate

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

Optional type

type?: "number" | "search" | "reset" | "submit" | "date" | "time" | "text" | "color" | "hidden" | "tel" | "email" | "url" | "button" | "checkbox" | "datetime" | "datetime-local" | "file" | "image" | "month" | "password" | "radio" | "range" | "week"

Optional value

value?: string | number | Date

Optional width

width?: number

Optional xmlns

xmlns?: string