CSSImportRule extension type

The CSSImportRule interface represents an at-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
href String
The read-only href property of the CSSImportRule interface returns the URL specified by the at-rule.
no setter
layerName String?
The read-only layerName property of the CSSImportRule interface returns the name of the cascade layer created by the at-rule.
no setter
media MediaList
The read-only media property of the CSSImportRule interface returns a MediaList object, containing the value of the media attribute of the associated stylesheet.
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
styleSheet CSSStyleSheet?
The read-only styleSheet property of the CSSImportRule interface returns the CSS Stylesheet specified by the at-rule. This will be in the form of a CSSStyleSheet object.
no setter
supportsText String?
The read-only supportsText property of the CSSImportRule interface returns the supports condition specified by the at-rule.
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