class js.html.HTMLOptionsCollection extends HTMLCollection

Available on js

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 for this class was provided by MDN.

Instance Fields

function add(option:OptionElement, ?index:Int):Void

function remove(index:Int):Void