Module Vdom_keyboard.Help_text
type t
val compare : t -> t -> int
val empty : t
val is_empty : t -> bool
val of_command_list : Command.t list -> t
val add_command : t -> Command.t -> t
add_command
is linear in the number of commands in t
.
val commands : t -> Command.t list
val view : ?sep:string -> t -> View_spec.t -> Vdom_keyboard__.Import.Vdom.Node.t
view
displays a help text table with one row per command.
view_rows
is similar to view
, but returns a list of row nodes instead of wrapping them in a table node.
val view_rows : ?sep:string -> t -> View_spec.t -> Vdom_keyboard__.Import.Vdom.Node.t list