CSSRule class
A single CSS rule. There are several types of rules, listed in the Type constants section below.
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- CSSRule.new()
-
factory
Properties
- charsetRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - cssText ↔ String
-
Available on CSSRule, provided by the CSSRule$Typings extension
MDN Referencegetter/setter pair - fontFaceRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- importRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - keyframeRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - keyframesRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - mediaRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - namespaceRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - pageRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - parentRule → CSSRule?
-
Available on CSSRule, provided by the CSSRule$Typings extension
MDN Referenceno setter - parentStyleSheet → CSSStyleSheet?
-
Available on CSSRule, provided by the CSSRule$Typings extension
MDN Referenceno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - supportsRule → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter - type → num
-
Available on CSSRule, provided by the CSSRule$Typings extension
no setter
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
Static Properties
- charsetRule → num
-
no setter
- fontFaceRule → num
-
no setter
- importRule → num
-
no setter
- keyframeRule → num
-
no setter
- keyframesRule → num
-
no setter
- mediaRule → num
-
no setter
- namespaceRule → num
-
no setter
- pageRule → num
-
no setter
- styleRule → num
-
no setter
- supportsRule → num
-
no setter