HTMLOptionsCollection

HTMLCollectionjs.html.HTMLOptionsCollection (extern class)

HTMLOptionsCollection is 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:

Instance Members

selectedIndex: Int

Name Type Default
element haxe.extern.EitherType<OptionElement, OptGroupElement>
before haxe.extern.EitherType<Element, Int> (optional)

remove(index: Int): Void
Name Type
index Int