@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="HTMLOptionsCollection")
public class HTMLOptionsCollection
extends HTMLCollection
| Modifier and Type | Field and Description |
|---|---|
int |
length |
int |
selectedIndex |
| Modifier | Constructor and Description |
|---|---|
protected |
HTMLOptionsCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(HTMLOptGroupElement element) |
void |
add(HTMLOptGroupElement element,
HTMLElement before) |
void |
add(HTMLOptGroupElement element,
int before) |
void |
add(HTMLOptionElement element) |
void |
add(HTMLOptionElement element,
HTMLElement before) |
void |
add(HTMLOptionElement element,
int before) |
void |
remove(int index) |
void |
setAt(int index,
HTMLOptionElement option) |
item, length, namedItempublic void add(@Nonnull
HTMLOptionElement element,
@Nonnull
HTMLElement before)
public void add(@Nonnull
HTMLOptGroupElement element,
@Nonnull
HTMLElement before)
public void add(@Nonnull
HTMLOptionElement element,
int before)
public void add(@Nonnull
HTMLOptGroupElement element,
int before)
public void add(@Nonnull
HTMLOptionElement element)
public void add(@Nonnull
HTMLOptGroupElement element)
public void remove(int index)
@JsOverlay
public final void setAt(int index,
@Nullable
HTMLOptionElement option)