StyleDeclaration

laika.ast.StyleDeclaration$
See theStyleDeclaration companion class
object StyleDeclaration extends (StyleSelector, Map[String, String]) => StyleDeclaration

Companion providing factory methods for the StyleDeclaration class.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
trait (StyleSelector, Map[String, String]) => StyleDeclaration
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(predicate: StylePredicate, styles: (String, String)*): StyleDeclaration

Creates a new StyleDeclaration with only one predicate.

Creates a new StyleDeclaration with only one predicate.

Attributes

Inherited methods

def curried: T1 => T2 => R

Attributes

Inherited from:
Function2
def tupled: ((T1, T2)) => R

Attributes

Inherited from:
Function2