Module Ojw_hookjs

module Ojw_hookjs : sig..end

Binding for hook.js. See also Hook.js

type t
class type options = object..end
val create : unit -> Dom_html.divElement Js.t * t

Add a hook to your page. Return the element to be included in your page and the object to initiliaze.

val empty_options : unit -> options Js.t
val init : t -> ?options:options Js.t -> unit -> unit