CSSRuleList

abstract external class CSSRuleList : ItemArrayLike<CSSRule> (source)

Platform and version requirements: JS

Exposes the JavaScript CSSRuleList to Kotlin

Constructors

<init>

CSSRuleList()

Exposes the JavaScript CSSRuleList to Kotlin

Properties

length

open val length: Int

Functions

item

open fun item(index: Int): CSSRule?

Extension Functions

asList

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

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

get

operator fun CSSRuleList.get(index: Int): CSSRule?