ElementType

case class ElementType(name: String) extends StylePredicate

A predicate that holds if the given type name matches the type of the target element. In contrast to web CSS, in Laika this is not a tag name, but the (unqualified) name of the class of the target element instance (e.g. Paragraph).

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def evaluate(element: Element): Boolean

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields