StyleSheetList class

The interface represents a list of CSSStyleSheet objects. An instance of this object can be returned by Document.styleSheets. It is an array-like object but can't be iterated over using Array methods. However it can be iterated over in a standard for loop over its indices, or converted to an Array.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

StyleSheetList()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
length int

Available on StyleSheetList, provided by the PropsStyleSheetList extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

item(int index) CSSStyleSheet?

Available on StyleSheetList, provided by the PropsStyleSheetList extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited