NodeList

abstract external class NodeList : ItemArrayLike<Node> (source)

Platform and version requirements: JS

Exposes the JavaScript NodeList to Kotlin

Constructors

<init>

NodeList()

Exposes the JavaScript NodeList to Kotlin

Properties

length

open val length: Int

Functions

item

open fun item(index: Int): Node?

Extension Functions

asList

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

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

get

operator fun NodeList.get(index: Int): Node?

Inheritors

RadioNodeList

abstract external class RadioNodeList : 
    NodeList,
    UnionElementOrRadioNodeList

Exposes the JavaScript RadioNodeList to Kotlin