Module Message.Ev
Message events.
Message event object
type t
The type for
MessageEvent
andExtendableMessageEvent
objects.
val as_extendable : t -> Brr.Ev.Extendable.t
as_extendable e
ise
as an extendable event. Warning. only forExtendableMessageEvents
objects.
val data : t -> 'a
data e
is the data send by the emitter. Warning. Unsafe, make sure to constrain the result value to the right type.
val source : t -> Jv.t option
source e
is the message emitter.
Events
val message : t Brr.Ev.type'
message
is themessage
event.
val messageerror : t Brr.Ev.type'
messageerror
is themessageerror
event.