CSSConditionRule class

An object implementing the interface represents a single condition CSS at-rule, which consists of a condition and a statement block. Two objects derive from : CSSMediaRule and CSSSupportsRule.

CSSRule

CSSGroupingRule

CSSConditionRule

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

Constructors

CSSConditionRule()
factory

Properties

conditionText String

Available on CSSConditionRule, provided by the PropsCSSConditionRule extension

no setter
cssRules CSSRuleList

Available on CSSGroupingRule, provided by the PropsCSSGroupingRule 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
type int

Available on CSSRule, provided by the PropsCSSRule extension

no setter

Methods

deleteRule(int index) → void

Available on CSSGroupingRule, provided by the PropsCSSGroupingRule extension

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

Available on CSSGroupingRule, provided by the PropsCSSGroupingRule 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