For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages
are available by appending .md to any URL.
Interface StyleSheetList
interface StyleSheetList {
length: number;
"[iterator]"(): ArrayIterator<CSSStyleSheet>;
item(index: number): CSSStyleSheet | null;
[index: number]: CSSStyleSheet;
}
length: number;
"[iterator]"(): ArrayIterator<CSSStyleSheet>;
item(index: number): CSSStyleSheet | null;
[index: number]: CSSStyleSheet;
}
Indexable
Properties
Readonlylength
length: number
The length read-only property of the StyleSheetList interface returns the number of CSSStyleSheet objects in the collection.
Methods
[iterator]
-
Returns ArrayIterator<CSSStyleSheet>
item
-
The
item()method of the StyleSheetList interface returns a single CSSStyleSheet object.Parameters
- index: number
Returns CSSStyleSheet | null
The
StyleSheetListinterface represents a list of CSSStyleSheet objects. An instance of this object can be returned by Document.styleSheets.MDN Reference