Event

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

Event handler

Attributes

msg

Message to produce when the event is triggered

name

Event name (e.g. "click")

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

Members list

Concise view

Value members

Concrete methods

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

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product