HTMLSelectElement
Overview
The HTMLSelectElement interface represents a <select> HTML Element. These elements also share all of the properties and methods of other HTML elements via the HTMLElement interface.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
autofocus
property autofocus: Boolean read write;
Boolean autofocus { get; set; }
var autofocus: Boolean { get{} set{} }
Boolean autofocus { __get; __set; }
Property autofocus() As Boolean
checkValidity
Checks whether the element has any constraints and whether it satisfies them. If the element fails its constraints, the browser fires a cancelable invalid event at the element (and returns false).
method checkValidity: Boolean
Boolean checkValidity()
func checkValidity() -> Boolean
Boolean checkValidity()
Function checkValidity() As Boolean
disabled
property disabled: Boolean read write;
Boolean disabled { get; set; }
var disabled: Boolean { get{} set{} }
Boolean disabled { __get; __set; }
Property disabled() As Boolean
form
property form: HTMLFormElement read;
HTMLFormElement form { get; }
var form: HTMLFormElement { get{} }
HTMLFormElement form { __get; }
ReadOnly Property form() As HTMLFormElement
item
Gets an item from the options collection for this element represents a control that provides a menu of options"><select> element. You can also access an item by specifying the index in array-style brackets or parentheses, without calling this method explicitly.
method item: array of String
String[] item()
func item() -> String...
String[] item()
Function item() As String()
labels
property labels: HTMLElement read;
HTMLElement labels { get; }
var labels: HTMLElement { get{} }
HTMLElement labels { __get; }
ReadOnly Property labels() As HTMLElement
length
property length: Int32 read write;
Int32 length { get; set; }
var length: Int32 { get{} set{} }
Int32 length { __get; __set; }
Property length() As Int32
multiple
property multiple: Boolean read write;
Boolean multiple { get; set; }
var multiple: Boolean { get{} set{} }
Boolean multiple { __get; __set; }
Property multiple() As Boolean
name
property name: String read write;
String name { get; set; }
var name: String { get{} set{} }
String name { __get; __set; }
Property name() As String
namedItem
Gets the item in the options collection with the specified name. The name string can match either the id or the name attribute of an option node. You can also access an item by specifying the name in array-style brackets or parentheses, without calling this method explicitly.
method namedItem: String
String namedItem()
func namedItem() -> String
String namedItem()
Function namedItem() As String
options
property options: HTMLOptionsCollection read;
HTMLOptionsCollection options { get; }
var options: HTMLOptionsCollection { get{} }
HTMLOptionsCollection options { __get; }
ReadOnly Property options() As HTMLOptionsCollection
remove
Removes the element at the specified index from the options collection for this select element.
method remove: HTMLElement
HTMLElement remove()
func remove() -> HTMLElement
HTMLElement remove()
Function remove() As HTMLElement
reportValidity
This method reports the problems with the constraints on the element, if any, to the user. If there are problems, it fires a cancelable invalid event at the element, and returns false; if there are no problems, it returns true.
method reportValidity: Boolean
Boolean reportValidity()
func reportValidity() -> Boolean
Boolean reportValidity()
Function reportValidity() As Boolean
required
property required: dynamic read write;
dynamic required { get; set; }
var required: dynamic { get{} set{} }
dynamic required { __get; __set; }
Property required() As dynamic
selectedIndex
property selectedIndex: Int32 read write;
Int32 selectedIndex { get; set; }
var selectedIndex: Int32 { get{} set{} }
Int32 selectedIndex { __get; __set; }
Property selectedIndex() As Int32
selectedOptions
property selectedOptions: HTMLCollection read;
HTMLCollection selectedOptions { get; }
var selectedOptions: HTMLCollection { get{} }
HTMLCollection selectedOptions { __get; }
ReadOnly Property selectedOptions() As HTMLCollection
setCustomValidity
Sets the custom validity message for the selection element to the specified message. Use the empty string to indicate that the element does not have a custom validity error.
method setCustomValidity: String
String setCustomValidity()
func setCustomValidity() -> String
String setCustomValidity()
Function setCustomValidity() As String
size
property size: Int64 read write;
Int64 size { get; set; }
var size: Int64 { get{} set{} }
Int64 size { __get; __set; }
Property size() As Int64
type
property type: dynamic read;
dynamic type { get; }
var type: dynamic { get{} }
dynamic type { __get; }
ReadOnly Property type() As dynamic
validationMessage
property validationMessage: String read;
String validationMessage { get; }
var validationMessage: String { get{} }
String validationMessage { __get; }
ReadOnly Property validationMessage() As String
validity
property validity: ValidityState read;
ValidityState validity { get; }
var validity: ValidityState { get{} }
ValidityState validity { __get; }
ReadOnly Property validity() As ValidityState
value
property value: String read write;
String value { get; set; }
var value: String { get{} set{} }
String value { __get; __set; }
Property value() As String
willValidate
autofocus
property autofocus: Boolean read write;
Boolean autofocus { get; set; }
var autofocus: Boolean { get{} set{} }
Boolean autofocus { __get; __set; }
Property autofocus() As Boolean
disabled
property disabled: Boolean read write;
Boolean disabled { get; set; }
var disabled: Boolean { get{} set{} }
Boolean disabled { __get; __set; }
Property disabled() As Boolean
form
property form: HTMLFormElement read;
HTMLFormElement form { get; }
var form: HTMLFormElement { get{} }
HTMLFormElement form { __get; }
ReadOnly Property form() As HTMLFormElement
labels
property labels: HTMLElement read;
HTMLElement labels { get; }
var labels: HTMLElement { get{} }
HTMLElement labels { __get; }
ReadOnly Property labels() As HTMLElement
length
property length: Int32 read write;
Int32 length { get; set; }
var length: Int32 { get{} set{} }
Int32 length { __get; __set; }
Property length() As Int32
multiple
property multiple: Boolean read write;
Boolean multiple { get; set; }
var multiple: Boolean { get{} set{} }
Boolean multiple { __get; __set; }
Property multiple() As Boolean
name
property name: String read write;
String name { get; set; }
var name: String { get{} set{} }
String name { __get; __set; }
Property name() As String
options
property options: HTMLOptionsCollection read;
HTMLOptionsCollection options { get; }
var options: HTMLOptionsCollection { get{} }
HTMLOptionsCollection options { __get; }
ReadOnly Property options() As HTMLOptionsCollection
required
property required: dynamic read write;
dynamic required { get; set; }
var required: dynamic { get{} set{} }
dynamic required { __get; __set; }
Property required() As dynamic
selectedIndex
property selectedIndex: Int32 read write;
Int32 selectedIndex { get; set; }
var selectedIndex: Int32 { get{} set{} }
Int32 selectedIndex { __get; __set; }
Property selectedIndex() As Int32
selectedOptions
property selectedOptions: HTMLCollection read;
HTMLCollection selectedOptions { get; }
var selectedOptions: HTMLCollection { get{} }
HTMLCollection selectedOptions { __get; }
ReadOnly Property selectedOptions() As HTMLCollection
size
property size: Int64 read write;
Int64 size { get; set; }
var size: Int64 { get{} set{} }
Int64 size { __get; __set; }
Property size() As Int64
type
property type: dynamic read;
dynamic type { get; }
var type: dynamic { get{} }
dynamic type { __get; }
ReadOnly Property type() As dynamic
validationMessage
property validationMessage: String read;
String validationMessage { get; }
var validationMessage: String { get{} }
String validationMessage { __get; }
ReadOnly Property validationMessage() As String
validity
property validity: ValidityState read;
ValidityState validity { get; }
var validity: ValidityState { get{} }
ValidityState validity { __get; }
ReadOnly Property validity() As ValidityState
value
property value: String read write;
String value { get; set; }
var value: String { get{} set{} }
String value { __get; __set; }
Property value() As String
willValidate
checkValidity
Checks whether the element has any constraints and whether it satisfies them. If the element fails its constraints, the browser fires a cancelable invalid event at the element (and returns false).
method checkValidity: Boolean
Boolean checkValidity()
func checkValidity() -> Boolean
Boolean checkValidity()
Function checkValidity() As Boolean
item
Gets an item from the options collection for this element represents a control that provides a menu of options"><select> element. You can also access an item by specifying the index in array-style brackets or parentheses, without calling this method explicitly.
method item: array of String
String[] item()
func item() -> String...
String[] item()
Function item() As String()
namedItem
Gets the item in the options collection with the specified name. The name string can match either the id or the name attribute of an option node. You can also access an item by specifying the name in array-style brackets or parentheses, without calling this method explicitly.
method namedItem: String
String namedItem()
func namedItem() -> String
String namedItem()
Function namedItem() As String
remove
Removes the element at the specified index from the options collection for this select element.
method remove: HTMLElement
HTMLElement remove()
func remove() -> HTMLElement
HTMLElement remove()
Function remove() As HTMLElement
reportValidity
This method reports the problems with the constraints on the element, if any, to the user. If there are problems, it fires a cancelable invalid event at the element, and returns false; if there are no problems, it returns true.
method reportValidity: Boolean
Boolean reportValidity()
func reportValidity() -> Boolean
Boolean reportValidity()
Function reportValidity() As Boolean
setCustomValidity
Sets the custom validity message for the selection element to the specified message. Use the empty string to indicate that the element does not have a custom validity error.