Module AXOEvents


module AXOEvents: sig .. end
This module provides ways to tamper with events. One can use common cases at the end of the module as example.

exception Cannot_destruct of exn
module type PARAMS = sig .. end
module Make: 
functor (Params : PARAMS) -> sig .. end
val get_target : JSOO.obj -> JSOO.obj
get_target evt get the DOM node originaly associated to the event.
val get_current_target : JSOO.obj -> JSOO.obj
get_current_target evt get the DOM node currently associated to the event
val stop_propagation : JSOO.obj -> JSOO.obj
stop_propagation evt prevent the event for going up in the DOM tree.
module Onclick: Make(sig
type v = unit 
val name : string
val name_modifier : 'a option
val destruct : 'a -> unit
val default_value : unit option
end)
module Mouse_up: Make(sig
type v = int * int 
val name : string
val name_modifier : 'a option
val destruct : JSOO.obj -> int * int
val default_value : 'a option
end)
module Mouse_down: Make(sig
type v = int * int 
val name : string
val name_modifier : 'a option
val destruct : JSOO.obj -> int * int
val default_value : 'a option
end)