laika.ast.StyleDeclaration
See theStyleDeclaration companion object Represents a single style declaration.
Attributes
- selector
the selector to determine which elements this declaration applies to
- styles
the styles themselves in a map representing the names and values of each style
- Companion:
- object
- Graph
- Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Indicates whether this style declaration applies to the specified target
element.
Indicates whether this style declaration applies to the specified target
element.
Attributes
- element
the target element to apply the selector of this style declaration to
- parents
the parents of the specified target element, which
also need to match in case the selector of this declaration has parent selectors.
- Returns:
true if this style declaration applies to the target element
Returns a new style declaration with the order parameter
in its Specificity property increased by the specified amount.
Returns a new style declaration with the order parameter
in its Specificity property increased by the specified amount.
Attributes
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product