CSSStyleRule class

The interface represents a single CSS style rule.

CSSRule

CSSStyleRule

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CSSStyleRule()
factory

Properties

cssRules CSSRuleList

Available on CSSStyleRule, provided by the PropsCSSStyleRule extension

no setter
cssText String

Available on CSSRule, provided by the PropsCSSRule extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
parentRule CSSRule?

Available on CSSRule, provided by the PropsCSSRule extension

no setter
parentStyleSheet CSSStyleSheet?

Available on CSSRule, provided by the PropsCSSRule extension

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

Available on CSSStyleRule, provided by the PropsCSSStyleRule extension

getter/setter pair
style CSSStyleDeclaration

Available on CSSStyleRule, provided by the PropsCSSStyleRule extension

no setter
styleMap StylePropertyMap

Available on CSSStyleRule, provided by the PropsCSSStyleRule extension

no setter
type int

Available on CSSRule, provided by the PropsCSSRule extension

no setter

Methods

deleteRule(int index) → void

Available on CSSStyleRule, provided by the PropsCSSStyleRule extension

insertRule(String rule, [int? index = 0]) int

Available on CSSStyleRule, provided by the PropsCSSStyleRule 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