Class HTMLOptionsCollection
- All Implemented Interfaces:
elemental2.core.JsIterable<HTMLOptionElement>,jsinterop.base.JsArrayLike<HTMLOptionElement>,jsinterop.base.JsPropertyMap<HTMLOptionElement>
@JsType(isNative=true,
namespace="<global>")
public class HTMLOptionsCollection
extends HTMLCollection<HTMLOptionElement>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidadd(HTMLOptGroupElement element) final voidadd(HTMLOptGroupElement element, double before) final voidadd(HTMLOptGroupElement element, HTMLElement before) final voidadd(HTMLOptGroupElement element, HTMLOptionsCollection.AddBeforeUnionType before) final voidadd(HTMLOptionElement element) final voidadd(HTMLOptionElement element, double before) final voidadd(HTMLOptionElement element, HTMLElement before) final voidadd(HTMLOptionElement element, HTMLOptionsCollection.AddBeforeUnionType before) voidfinal voidadd(HTMLOptionsCollection.AddElementUnionType element, double before) final voidadd(HTMLOptionsCollection.AddElementUnionType element, HTMLElement before) voidadd(HTMLOptionsCollection.AddElementUnionType element, HTMLOptionsCollection.AddBeforeUnionType before) item(int index) voidremove(double index) Methods inherited from class elemental2.dom.HTMLCollection
namedItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jsinterop.base.JsArrayLike
asList, delete, getAt, getAtAsAny, getLength, setAt, setLengthMethods inherited from interface jsinterop.base.JsPropertyMap
delete, forEach, get, getAsAny, has, nestedGet, nestedGetAsAny, set
-
Field Details
-
length
public int length
-
-
Constructor Details
-
HTMLOptionsCollection
public HTMLOptionsCollection()
-
-
Method Details
-
add
public void add(HTMLOptionsCollection.AddElementUnionType element, HTMLOptionsCollection.AddBeforeUnionType before) -
add
@JsOverlay public final void add(HTMLOptionsCollection.AddElementUnionType element, HTMLElement before) -
add
-
add
-
add
@JsOverlay public final void add(HTMLOptGroupElement element, HTMLOptionsCollection.AddBeforeUnionType before) -
add
-
add
-
add
-
add
@JsOverlay public final void add(HTMLOptionElement element, HTMLOptionsCollection.AddBeforeUnionType before) -
add
-
add
-
add
-
item
- Overrides:
itemin classHTMLCollection<HTMLOptionElement>
-
remove
public void remove(double index)
-