AwaitedDOM/ CSSRuleList

A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.

Properties

.length
W3C

Returns the number of items in the collection.

Type: Promise<number>

Methods

.item(index)
W3C

Returns the specific node at the given zero-based index into the list. Returns null if the index is out of range.

Arguments:

  • index number. Needs content.

Returns: CSSRule

Edit this page on GitHub