HTMLCollection

JS
1.1
abstract class HTMLCollection : 
    ItemArrayLike<Element>,
    UnionElementOrHTMLCollection

Exposes the JavaScript HTMLCollection to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript HTMLCollection to Kotlin

HTMLCollection()

Functions

JS
1.1

item

open fun item(index: Int): Element?
JS
1.1

namedItem

fun namedItem(name: String): Element?

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?

Inheritors

JS
1.1

HTMLFormControlsCollection

Exposes the JavaScript HTMLFormControlsCollection to Kotlin

abstract class HTMLFormControlsCollection : HTMLCollection
JS
1.1

HTMLOptionsCollection

Exposes the JavaScript HTMLOptionsCollection to Kotlin

abstract class HTMLOptionsCollection : HTMLCollection