HTMLOptionsCollection

JS
1.1
abstract class HTMLOptionsCollection : HTMLCollection
(source)

Exposes the JavaScript HTMLOptionsCollection to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript HTMLOptionsCollection to Kotlin

HTMLOptionsCollection ( )

Properties

JS
1.1

length

open var length : Int
JS
1.1

selectedIndex

open var selectedIndex : Int

Functions

JS
1.1

add

fun add (
element : UnionHTMLOptGroupElementOrHTMLOptionElement ,
before : dynamic = definedExternally )
JS
1.1

remove

fun remove ( index : Int )

Extension Functions

JS
1.1

asList

Returns the view of this ItemArrayLike<T> collection as List<T>

fun < T > ItemArrayLike < T > . asList ( ) : List < T >
JS
1.1

get

operator fun HTMLCollection . get ( index : Int ) : Element ?
operator fun HTMLCollection . get ( name : String ) : Element ?
JS
1.1

set

operator fun HTMLOptionsCollection . set (
index : Int ,
option : HTMLOptionElement ? )