HTMLSelectElement$Typings extension

on

Properties

add ↔ void Function(HTMLElement, [dynamic])

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

getter/setter pair
addEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Overload accessor: $1, $2
no setter
autocomplete Object

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

MDN Reference
getter/setter pair
checkValidity bool Function()

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

getter/setter pair
disabled bool

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

MDN Reference
getter/setter pair
form HTMLFormElement?

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Retrieves a reference to the form that the object is embedded in.
no setter
item HTMLOptionElement? Function(num)

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

getter/setter pair
labels NodeListOf<HTMLLabelElement>

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

MDN Reference
no setter
length num

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Sets or retrieves the number of objects in a collection.
getter/setter pair
multiple bool

Available on HTMLSelectElement, provided by the HTMLSelectElement$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 HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Sets or retrieves the name of the object.
getter/setter pair
namedItem HTMLOptionElement? Function(String)

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

getter/setter pair
options HTMLOptionsCollection

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Returns an HTMLOptionsCollection of the list of options.
no setter
remove → ({void Function() $1, void Function(num index) $2})

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Overload accessor: $1, $2
no setter
removeEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Overload accessor: $1, $2
no setter
reportValidity bool Function()

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

getter/setter pair
required bool

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

When present, marks an element that can't be submitted without a value.
getter/setter pair
selectedIndex num

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Sets or retrieves the index of the selected option in a select object.
getter/setter pair
selectedOptions HTMLCollectionOf<HTMLOptionElement>

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

MDN Reference
no setter
setCustomValidity ↔ void Function(String)

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

getter/setter pair
size num

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Sets or retrieves the number of rows in the list box.
getter/setter pair
type String

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Retrieves the type of select control based on the value of the MULTIPLE attribute.
no setter
validationMessage String

Available on HTMLSelectElement, provided by the HTMLSelectElement$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 HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Returns a ValidityState object that represents the validity states of an element.
no setter
value String

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Sets or retrieves the value which is returned to the server when the form control is submitted.
getter/setter pair
willValidate bool

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

Returns whether an element will successfully validate based on forms validation rules and constraints.
no setter

Operators

operator [](num index) HTMLElement

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension

operator []=(num index, HTMLElement value) → void

Available on HTMLSelectElement, provided by the HTMLSelectElement$Typings extension