module type PARAMS = sig
.. end
type
v
val name : string
val name_modifier : string option
A custom tag to ensure your bindings can't be unbound by another module.
It changes the internal representation of bounded handlers.
val destruct : JSOO.obj -> v
Converts the obj
describing the event to a caml value.
/!\ The obj
the destruct
function is called upon is an event object
(and not the DOM object the event was fired upon ; to get the target node
of the event use get_target
).
val default_value : v option
The value to send if an exception occurs during the conversion
of the value, if any.
If the default value is None
and the destruction failed with exception e
,
the exception Cannot_destruct e
is raised.