Represents a set of one or more style declarations.
- Value parameters:
- paths
the paths the style declarations have been obtained from
- precedence
the precedence of this set compared to other provided sets
- styles
the style declarations that belong to this set
- Companion:
- object
Value members
Concrete methods
Merges the style declaration of this instance with the specified set and returns the merged set in a new instance.
Merges the style declaration of this instance with the specified set and returns the merged set in a new instance.
Collects all the styles that apply to the specified target element.
Collects all the styles that apply to the specified target element.
- Value parameters:
- parents
the parents of the specified target element
- target
the target element to collect the matching styles for
- Returns:
a map representing the keys and values of all styles that apply to the target element