HTMLInputElement$Typings extension
Properties
- accept ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves a comma-separated list of content types.getter/setter pair -
addEventListener
→ ({void Function<
K$>(HTMLElementEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Overload accessor: $1, $2no setter - align ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves how the object is aligned with adjacent text. @deprecatedgetter/setter pair - alt ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves a text alternative to the graphic.getter/setter pair - autocomplete ↔ Object
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Specifies whether autocomplete is applied to an editable text field.getter/setter pair - capture ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - checked ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the state of the check box or radio button.getter/setter pair - checkValidity ↔ bool Function()
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - defaultChecked ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the state of the check box or radio button.getter/setter pair - defaultValue ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the initial contents of the object.getter/setter pair - dirName ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - disabled ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - files ↔ FileList?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns a FileList object on a file type input object.getter/setter pair - form → HTMLFormElement?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Retrieves a reference to the form that the object is embedded in.no setter - formAction ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Overrides the action attribute (where the data on a form is sent) on the parent form element.getter/setter pair - formEnctype ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Used to override the encoding (formEnctype attribute) specified on the form element.getter/setter pair - formMethod ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Overrides the submit method attribute previously specified on a form element.getter/setter pair - formNoValidate ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.getter/setter pair - formTarget ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Overrides the target attribute on a form element.getter/setter pair - height ↔ num
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the height of the object.getter/setter pair - indeterminate ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
When set, overrides the rendering of checkbox controls so that the current value is not visible.getter/setter pair -
labels
→ NodeListOf<
HTMLLabelElement> ? -
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
MDN Referenceno setter - list → HTMLDataListElement?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Specifies the ID of a pre-defined datalist of options for an input element.no setter - max ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.getter/setter pair - maxLength ↔ num
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the maximum number of characters that the user can enter in a text control.getter/setter pair - min ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.getter/setter pair - minLength ↔ num
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - multiple ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.getter/setter pair - name ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the name of the object.getter/setter pair - pattern ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Gets or sets a string containing a regular expression that the user's input must match.getter/setter pair - placeholder ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.getter/setter pair - readOnly ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair -
removeEventListener
→ ({void Function<
K$>(HTMLElementEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Overload accessor: $1, $2no setter - reportValidity ↔ bool Function()
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - required ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
When present, marks an element that can't be submitted without a value.getter/setter pair - select ↔ void Function()
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - selectionDirection ↔ SelectionDirection?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
MDN Referencegetter/setter pair - selectionEnd ↔ num?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Gets or sets the end position or offset of a text selection.getter/setter pair - selectionStart ↔ num?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Gets or sets the starting position or offset of a text selection.getter/setter pair - setCustomValidity ↔ void Function(String)
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - setSelectionRange ↔ void Function([num?, num?, UnionEnum0?])
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - showPicker ↔ void Function()
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - size ↔ num
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - src ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
The address or URL of the a media resource that is to be considered.getter/setter pair - step ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.getter/setter pair - stepDown ↔ void Function([num?])
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - stepUp ↔ void Function([num?])
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
getter/setter pair - type ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns the content type of the object.getter/setter pair - useMap ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map. @deprecatedgetter/setter pair - validationMessage → String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.no setter - validity → ValidityState
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns a ValidityState object that represents the validity states of an element.no setter - value ↔ String
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns the value of the data at the cursor's current position.getter/setter pair - valueAsDate ↔ DateTime?
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns a Date object representing the form control's value, if applicable; otherwise, returns null. Can be set, to change the value. Throws an "InvalidStateError" DOMException if the control isn't date- or time-based.getter/setter pair - valueAsNumber ↔ num
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns the input field value as a number.getter/setter pair - webkitdirectory ↔ bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
MDN Referencegetter/setter pair -
webkitEntries
→ ReadonlyArray<
FileSystemEntry> -
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
MDN Referenceno setter - width ↔ num
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Sets or retrieves the width of the object.getter/setter pair - willValidate → bool
-
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
Returns whether an element will successfully validate based on forms validation rules and constraints.no setter
Methods
-
setRangeText(
String replacement, num start, num end, [SelectionMode? selectionMode]) → void -
Available on HTMLInputElement, provided by the HTMLInputElement$Typings extension
MDN Reference