Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRegisterElement

Interface for registering an element, extends HTMLElement.

Hierarchy

Index

Properties

Optional checked

checked: boolean

Whether the element when checkbox or radio is checked.

Optional max

max: string | number

When element should be a max of this value man="5".

Optional maxLength

maxLength: string | number

When element string to be a max of this length.

Optional min

min: string | number

When element should be a min of this value min="5".

Optional minLength

minLength: string | number

When element string to be a min of this length.

Optional multiple

multiple: boolean

True when element is a select tagged with multiple="true"

Optional name

name: string

The name of the HTMLElement name="some_name".

Optional options

options: HTMLOptionsCollection

The HTMLOptionsCollection present when element is a select/multiple.

Optional pattern

pattern: string | RegExp

When element should match this pattern.

Optional required

required: boolean

True when element is required.

Optional type

type: string

The type of the element type="text".

Optional value

value: string

The value of the element value="some_value".

Generated using TypeDoc