Module Bs4_deck.Make

Parameters

Signature

val ht_info : (M.idM.info) Stdlib.Hashtbl.t
val ht : (M.idHtml_types.div Ocp_js.elt) Stdlib.Hashtbl.t
val container : Html_types.div Ocp_js.elt Stdlib.ref
val hidden : bool Stdlib.ref
val make : ?⁠card_class:Html_types.nmtokens Ocp_js.Html.wrap -> ?⁠card_header_class:Html_types.nmtoken list -> ?⁠card_title_class:Html_types.nmtoken list -> ?⁠card_title_content:[< Html_types.div_content_fun ] Ocp_js.Html.elt Ocp_js.Html.list_wrap -> ?⁠card_body_class:Html_types.nmtoken list -> unit -> Html_types.div Ocp_js.elt
val get_info : M.id -> M.info option
val hide_main : unit -> unit
val show_main : unit -> unit
val clear : unit -> unit
val hide : M.id -> unit
val show : M.id -> unit
val remove : M.id -> unit
val make_card : M.id -> M.info -> [> Html_types.div ] Ocp_js.Html.elt
val update_card : 'a Ocp_js.elt -> M.id -> M.info -> unit
val append : M.id -> M.info -> unit
val update : M.id -> M.info -> unit
val update_or_append : M.id -> M.info -> unit
val append_all : (M.id * M.info) list -> unit
val make_all : (M.id * M.info) list -> Html_types.div Ocp_js.elt