CSSPropertyRule extension type

The CSSPropertyRule interface of the CSS Properties and Values API represents a single CSS rule.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Properties

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
inherits bool
The read-only inherits property of the CSSPropertyRule interface returns the inherit flag of the custom property registration represented by the rule, a boolean describing whether or not the property inherits by default.
no setter
initialValue String?
The read-only initialValue nullable property of the CSSPropertyRule interface returns the initial value of the custom property registration represented by the rule, controlling the property's initial value.
no setter
name String
The read-only name property of the CSSPropertyRule interface represents the property name, this being the serialization of the name given to the custom property in the rule's prelude.
no setter
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
syntax String
The read-only syntax property of the CSSPropertyRule interface returns the literal syntax of the custom property registration represented by the rule, controlling how the property's value is parsed at computed-value time.
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

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