Package elemental2.dom
Class HTMLOptionsCollection
- All Implemented Interfaces:
elemental2.core.JsIterable<HTMLOptionElement,,Object, Object> jsinterop.base.JsArrayLike<HTMLOptionElement>,jsinterop.base.JsPropertyMap<HTMLOptionElement>
@JsType(isNative=true,
namespace="<global>")
public class HTMLOptionsCollection
extends HTMLCollection<@Nullable 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, @Nullable HTMLOptionsCollection.AddBeforeUnionType before) final voidadd(HTMLOptionElement element) final voidadd(HTMLOptionElement element, double before) final voidadd(HTMLOptionElement element, HTMLElement before) final voidadd(HTMLOptionElement element, @Nullable HTMLOptionsCollection.AddBeforeUnionType before) voidadd(@Nullable HTMLOptionsCollection.AddElementUnionType element) final voidadd(@Nullable HTMLOptionsCollection.AddElementUnionType element, double before) final voidadd(@Nullable HTMLOptionsCollection.AddElementUnionType element, HTMLElement before) voidadd(@Nullable HTMLOptionsCollection.AddElementUnionType element, @Nullable HTMLOptionsCollection.AddBeforeUnionType before) @Nullable HTMLOptionElementitem(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(@Nullable HTMLOptionsCollection.AddElementUnionType element, @Nullable HTMLOptionsCollection.AddBeforeUnionType before) -
add
@JsOverlay public final void add(@Nullable HTMLOptionsCollection.AddElementUnionType element, HTMLElement before) -
add
@JsOverlay public final void add(@Nullable HTMLOptionsCollection.AddElementUnionType element, double before) -
add
-
add
@JsOverlay public final void add(HTMLOptGroupElement element, @Nullable HTMLOptionsCollection.AddBeforeUnionType before) -
add
-
add
-
add
-
add
@JsOverlay public final void add(HTMLOptionElement element, @Nullable HTMLOptionsCollection.AddBeforeUnionType before) -
add
-
add
-
add
-
item
- Overrides:
itemin classHTMLCollection<@Nullable HTMLOptionElement>
-
remove
public void remove(double index)
-