KeySetter

class KeySetter[K <: Key, V, El <: Base](val key: K, val value: V, val action: (El, K, V) => Unit) extends Setter[El]

This class represents a modifier that sets a Key (e.g. an attribute or a style) to a specific value on a El. action is what performs this change.

This class represents a modifier that sets a Key (e.g. an attribute or a style) to a specific value on a El. action is what performs this change.

trait Setter[El]
trait Modifier[El]
class Object
trait Matchable
class Any

Value members

Concrete methods

@inline
override def apply(element: El): Unit
Definition Classes
Modifier

Concrete fields

val action: (El, K, V) => Unit
val key: K
val value: V