Class StypRuleAbstract

CSS rule.

Represents CSS selector and corresponding CSS properties.

Hierarchy

  • StypRule

Implements

Constructors

Properties

empty: boolean

Whether 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.

A key of this rule in the enclosing one.

outer: null | StypRule

A 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.

read: AfterEvent<[StypProperties<Generic>]>

An AfterEvent keeper of CSS properties of this rule.

The [AfterEvent__symbol] property is an alias of this one.

root: StypRule

A reference to the root CSS rule.

Dynamic list of all CSS rules in hierarchy starting from this one.

selector: DoqryPicker

CSS selector of this rule.

Methods

Generated using TypeDoc