laika.ast.StyleDeclaration
See theStyleDeclaration companion object
Represents a single style declaration.
Value parameters
-
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
Attributes
-
Companion
-
object
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Indicates whether this style declaration applies to the specified target element.
Indicates whether this style declaration applies to the specified target element.
Value parameters
-
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.
Attributes
-
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