CSSStartingStyleRule extension type

The CSSStartingStyleRule interface of the CSS Object Model represents a CSS at-rule.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Properties

cssRules CSSRuleList
The cssRules property of the CSSGroupingRule interface returns a CSSRuleList containing a collection of CSSRule objects.
no setterinherited
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
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

deleteRule(int index) → void
The deleteRule() method of the CSSGroupingRule interface removes a CSS rule from a list of child CSS rules.
inherited
insertRule(String rule, [int index]) int
The insertRule() method of the CSSGroupingRule interface adds a new CSS rule to a list of CSS rules.
inherited
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