Event

final case class Event[E <: Event, M](name: String, msg: E => M) extends Attr[M]

Event handler

Value parameters:
msg

Message to produce when the event is triggered

name

Event name (e.g. "click")

trait Serializable
trait Product
trait Equals
trait Attr[M]
class Object
trait Matchable
class Any

Value members

Concrete methods

def map[N](f: M => N): Attr[N]

Inherited methods

Inherited from:
Product