StyleSheetList

The StyleSheetList interface represents a list of CSSStyleSheet objects.

MDN Reference

Properties

Link copied to clipboard
open override val length: Int

The length read-only property of the StyleSheetList interface returns the number of CSSStyleSheet objects in the collection.

Functions

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

The item() method of the StyleSheetList interface returns a single CSSStyleSheet object.

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