Attr

sealed abstract class Attr(val id: String, val gen: Gen)

A style attribute.

Often this will represent a single CSS attribute, eg. "margin-left". This can also represent a high-level attribute and generate multiple CSS keys.

Value Params
id

A name by which this attribute can be identified. It is used for attribute equality and describing itself in messages to the developer. It doesn't not appear in output CSS.

Companion
object
class Object
trait Matchable
class Any
class AliasAttr
class RealAttr

Value members

Abstract methods

def real: Set[RealAttr]

Concrete methods

final def cmp(that: Attr): AttrCmp
final override def equals(t: Any): Boolean
Definition Classes
Any
final override def hashCode: Int
Definition Classes
Any
final override def toString: String
Definition Classes
Any

Concrete fields

val gen: Gen
val id: String