Module Event.Expert
val handle : Js_of_ocaml.Dom_html.#event Js_of_ocaml.Js.t -> t -> unit
handle t
looks up theHandler.handle
function in the table ofDefine
d functions, unwraps theEvent.t
back into its underlyingAction.t
, and applies the two. This is only intended for internal use by this library, specifically by the attribute code.
val handle_non_dom_event_exn : t -> unit
handle_non_dom_event_exn
is the same ashandle
except that it raises in any case that would have required the#Dom_html.event Js.t
. In particular, this can be to feed Actions back to the system that are not triggered by events from the DOM and do not have a corresponding#Dom_html.event Js.t
.