StylePredicate

sealed trait StylePredicate

Represents a single predicate which is part of the selector for a style declaration.

Companion:
object
class Object
trait Matchable
class Any
class Id
class StyleName

Value members

Abstract methods

def evaluate(element: Element): Boolean

Indicates whether this predicate holds for the specified element.

Indicates whether this predicate holds for the specified element.

The specificity of this predicate. Used to calculate the precedence if multiple selectors apply to the same target element.

The specificity of this predicate. Used to calculate the precedence if multiple selectors apply to the same target element.