Package org.teavm.jso.dom.html
Interface HTMLOptionsCollection
- All Superinterfaces:
HTMLCollection
,JSArrayReader<Element>
,org.teavm.jso.JSObject
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(HTMLOptionElement element) void
add
(HTMLOptionElement element, int before) void
add
(HTMLOptionElement element, HTMLElement before) int
item
(int index) void
remove
(int index) void
set
(int index, HTMLOptionElement element) void
setSelectedIndex
(int selectedIndex) Methods inherited from interface org.teavm.jso.core.JSArrayReader
get, getLength
Methods inherited from interface org.teavm.jso.JSObject
cast
-
Method Details
-
item
- Specified by:
item
in interfaceHTMLCollection
-
namedItem
- Specified by:
namedItem
in interfaceHTMLCollection
-
set
-
add
-
add
-
add
-
remove
void remove(int index) -
getSelectedIndex
int getSelectedIndex() -
setSelectedIndex
void setSelectedIndex(int selectedIndex)
-