Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/website/awaited-dom/CSSRuleList.md
1029 views

AwaitedDOM / CSSRuleList

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

Properties

.length
W3C {#length}

Returns the number of items in the collection.

Type: Promise<number>

Methods

.item*(index)*
W3C {#item}

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