module ExtUtils: sig
.. end
Collection of utility functions.
val call_parent : 'a -> string -> unit
call_parent o n
calls method n
of the superclass of object o
.
val log : string -> unit
log m
logs message m
to Javascript console.
val undef : 'a
Generic undefined
to use as optional parameter.
val to_class_configs : < .. > Js.t -> Ext_Class.configs Js.t
to_class_configs o
converts instance o
to an Ext.class config object
val alert : Js.js_string Js.t -> unit
alert m
displays an alert dialog with content m
and an OK button.
val setTimeout : (unit -> unit) -> int -> unit
setTimeout f d
calls function f
after delay d
.
val get_global : string -> 'a
val set_global : string -> 'a -> unit
val test_global : string -> bool