CSSLayerStatementRule extension type
The CSSLayerStatementRule
represents a statement rule. Unlike
CSSLayerBlockRule, it doesn't contain other rules and merely defines one
or several layers by providing their names.
This rule allows to explicitly declare the ordering layer that is in an
apparent way at the beginning of a CSS file: the layer order is defined by
the order of first occurrence of each layer name. Declaring them with a
statement allows the reader to understand the layer order. It also allows
inline and imported layers to be interleaved, which is not possible when
using the CSSLayerBlockRule
syntax.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- cssText ↔ String
-
The
cssText
property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.getter/setter pairinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
nameList
→ JSArray<
JSString> -
The read-only
nameList
property of the CSSLayerStatementRule interface return the list of associated cascade layer names. The names can't be modified.no setter - parentRule → CSSRule?
-
The
parentRule
property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.no setterinherited - parentStyleSheet → CSSStyleSheet?
-
The
parentStyleSheet
property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → int
-
The read-only
type
property of the CSSRule interface is a deprecated property that returns an integer indicating which type of rule the CSSRule represents.no setterinherited
Methods
-
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