Module Attr.Expert

val create_basic_hook : string -> ?⁠hook:(Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> unit) -> ?⁠unhook:(Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> unit) -> unit -> t
val create_stateful_hook : string -> hook:(Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> 'a) -> unhook:('a -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> unit) -> id:'a Core_kernel.Type_equal.Id.t -> t
val create_persistent_hook : string -> init:(Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> 'state) -> update:('state -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> 'state) -> destroy:('state -> Js_of_ocaml.Dom_html.element Js_of_ocaml.Js.t -> unit) -> id:'state Core_kernel.Type_equal.Id.t -> t