ItemArrayLike

external interface ItemArrayLike<out T> (source)

Platform and version requirements: JS

Properties

length

abstract val length: Int

Functions

item

abstract fun item(index: Int): T?

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Extension Functions

asList

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

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

Inheritors

CSSRuleList

abstract external class CSSRuleList : ItemArrayLike<CSSRule>

Exposes the JavaScript CSSRuleList to Kotlin

CSSStyleDeclaration

abstract external class CSSStyleDeclaration : 
    ItemArrayLike<String>

Exposes the JavaScript CSSStyleDeclaration to Kotlin

DOMRectList

external interface DOMRectList : ItemArrayLike<DOMRect>

DOMTokenList

abstract external class DOMTokenList : ItemArrayLike<String>

Exposes the JavaScript DOMTokenList to Kotlin

FileList

abstract external class FileList : ItemArrayLike<File>

Exposes the JavaScript FileList to Kotlin

HTMLCollection

abstract external class HTMLCollection : 
    UnionElementOrHTMLCollection,
    ItemArrayLike<Element>

Exposes the JavaScript HTMLCollection to Kotlin

HTMLSelectElement

abstract external class HTMLSelectElement : 
    HTMLElement,
    ItemArrayLike<Element>

Exposes the JavaScript HTMLSelectElement to Kotlin

MediaList

abstract external class MediaList : ItemArrayLike<String>

MimeTypeArray

abstract external class MimeTypeArray : 
    ItemArrayLike<MimeType>

Exposes the JavaScript MimeTypeArray to Kotlin

NamedNodeMap

abstract external class NamedNodeMap : ItemArrayLike<Attr>

Exposes the JavaScript NamedNodeMap to Kotlin

NodeList

abstract external class NodeList : ItemArrayLike<Node>

Exposes the JavaScript NodeList to Kotlin

Plugin

abstract external class Plugin : ItemArrayLike<MimeType>

Exposes the JavaScript Plugin to Kotlin

PluginArray

abstract external class PluginArray : ItemArrayLike<Plugin>

Exposes the JavaScript PluginArray to Kotlin

StyleSheetList

abstract external class StyleSheetList : 
    ItemArrayLike<StyleSheet>

Exposes the JavaScript StyleSheetList to Kotlin