HTMLOptionsCollection

HTMLOptionsCollection

package js-html

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 HTMLOptionsCollection by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

selectedIndex:Int

Methods

add (element:EitherType<OptionElement, OptGroupElement>, ?before:EitherType<Element, Int>):Void

Throws:

null DOMError

remove (index:Int):Void

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/HTMLOptionsCollection.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部