HTMLOptionsCollection
Constructors
<init>
Exposes the JavaScript HTMLOptionsCollection to Kotlin
HTMLOptionsCollection
(
)
Properties
length
open
var
length
:
Int
selectedIndex
open
var
selectedIndex
:
Int
Functions
add
fun
add
(
element
:
UnionHTMLOptGroupElementOrHTMLOptionElement
,
before
:
dynamic
=
definedExternally
)
remove
fun
remove
(
index
:
Int
)
Extension Functions
asList
Returns the view of this
ItemArrayLike<T>
collection as
List<T>
fun
<
T
>
ItemArrayLike
<
T
>
.
asList
(
)
:
List
<
T
>
get
operator
fun
HTMLCollection
.
get
(
index
:
Int
)
:
Element
?
operator
fun
HTMLCollection
.
get
(
name
:
String
)
:
Element
?
set
operator
fun
HTMLOptionsCollection
.
set
(
index
:
Int
,
option
:
HTMLOptionElement
?
)