Abstract
Readonly
Abstract
emptyWhether this rule's properties are empty.
This is true
when the rule properties are constant and empty.
Empty CSS rules returned from rule()
method when there is no matching rule found.
Readonly
Abstract
keyA key of this rule in the enclosing one.
Readonly
Abstract
outerA reference to outer CSS rule.
The outer rule is the one for enclosing element.
I.e. for the rule with selector is a b+c
the parent one is a b
, while the outer one is a
.
This is null
for the root rule and may be null
for the rule removed from hierarchy.
Readonly
Abstract
readAn AfterEvent
keeper of CSS properties of this rule.
The [AfterEvent__symbol]
property is an alias of this one.
Readonly
Abstract
rootA reference to the root CSS rule.
Readonly
Abstract
rulesDynamic list of all CSS rules in hierarchy starting from this one.
Readonly
Abstract
selectorCSS selector of this rule.
Appends CSS properties to this rule.
CSS properties specifier.
this
rule instance.
Abstract
removeAbstract
setSets CSS properties of this rule.
Optional
properties: StypProperties.SpecCSS properties specifier. Or nothing to clear them.
this
rule instance.
Generated using TypeDoc
CSS rule.
Represents CSS selector and corresponding CSS properties.