package js.html
extends HTMLCollection
Available on js
HTMLOptionsCollectionis an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select.Documentation HTMLOptionsCollection by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
selectedIndex:Intadd (element:EitherType<OptionElement, OptGroupElement>, ?before:EitherType<Element, Int>):VoidThrows:
null |
DOMError |
|---|
remove (index:Int):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/HTMLOptionsCollection.html