Module Bs4_card.MakeCardTable

Parameters

Signature

val title_id : string
val loading_id : string
val table_id : string
val current_page : int Stdlib.ref
val current_size : int Stdlib.ref
val theads : [> Html_types.thead ] Ocp_js.Html.elt
val ncolumns : int
val make : ?⁠footer:bool -> ?⁠suf_id:string -> ?⁠before:[< Html_types.div_content_fun Div Table ] as 'a Ocp_js.Html.elt list -> ?⁠after:'a Ocp_js.Html.elt list -> ?⁠card_class:Html_types.nmtoken list -> ?⁠card_id:Html_types.text Ocp_js.Html.wrap -> ?⁠card_header_class:Html_types.nmtoken list -> ?⁠card_header_id:Html_types.text Ocp_js.Html.wrap -> ?⁠card_title_class:string list -> ?⁠card_body_class:Html_types.nmtoken list -> ?⁠card_body_id:Html_types.text Ocp_js.Html.wrap -> ?⁠card_footer_id:Html_types.text Ocp_js.Html.wrap -> ?⁠card_footer_class:Html_types.nmtoken list -> unit -> [> Html_types.div ] Ocp_js.Html.elt
val update_title : ?⁠title_elt:[> Html_types.span ] Ocp_js.elt -> ?⁠nrows:int -> ?⁠suf_id:string -> unit -> unit
val update_table : ?⁠suf_id:string -> Html_types.tr Ocp_js.elt list -> unit
val update : ?⁠title:bool -> ?⁠suf_id:string -> ?⁠page_sizer:bool -> ?⁠state:M.state -> int -> (int -> int -> (M.t list -> unit) -> unit) -> unit
val update_result : ?⁠title:bool -> ?⁠suf_id:string -> ?⁠page_sizer:bool -> ?⁠state:M.state -> int -> (int -> int -> ((M.t list, string) Stdlib.result -> unit) -> unit) -> unit
val update_from_all : ?⁠title:bool -> ?⁠suf_id:string -> ?⁠page_sizer:bool -> ?⁠state:M.state -> ((M.t list -> unit) -> unit) -> unit
val append_row : ?⁠suf_id:string -> 'a Ocp_js.elt -> unit