HTMLCollectionBase

The HTMLCollection interface represents a generic collection (array-like object similar to Functions/arguments) of elements (in document order) and offers methods and properties for selecting from the list.

MDN Reference

Inheritors

Properties

Link copied to clipboard
abstract val length: Int

Functions

Link copied to clipboard
open operator fun get(index: Int): T
open operator fun get(key: Symbol.iterator): () -> JsIterator<T>
Link copied to clipboard
abstract fun item(index: Int): T?

The HTMLCollection method item() returns the element located at the specified offset into the collection.

Link copied to clipboard
open inline operator fun iterator(): Iterator<T>