CSSScopeRule extension type
The CSSScopeRule
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 - end → String?
-
The
end
property of the CSSScopeRule interface returns a string containing the value of the@scope
at-rule's scope limit.no setter - 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
- start → String?
-
The
start
property of the CSSScopeRule interface returns a string containing the value of the@scope
at-rule's scope root.no setter - 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