type property

String get type

The type property of the HTMLInputElement interface indicates the kind of data allowed in the input element, for example a number, a date, or an email. Browsers will select the appropriate widget and behavior to help users to enter a valid value.

It reflects the type attribute of the input element.

Implementation

external String get type;
set type (String value)

Implementation

external set type(String value);