package virtual_dom

  1. Overview
  2. Docs
OCaml bindings for the virtual-dom library

Install

Dune Dependency

Authors

Maintainers

Sources

virtual_dom-v0.16.0.tar.gz
sha256=0c6f07894dce56db88d46b3aa4f2cad1a84aeaf0009560a285492f9f2959d565

doc/virtual_dom.keyboard/Vdom_keyboard/Grouped_help_text/View_spec/index.html

Module Grouped_help_text.View_specSource

View_spec is almost identical to Help_text.View_spec, but additionally allows the user to customize how to display group names.

Sourcetype t = {
  1. core_spec : Help_text.View_spec.t;
  2. group_name : Group_name.t -> Virtual_dom.Vdom.Node.t;
}
Sourceval plain : t
Sourceval with_classes : group_name_class:string -> key_class:string -> plain_text_class:string -> t

with_classes behaves the same as Help_text.View_spec.with_classes as far as the core_spec, and additionally converts group names to text nodes and wraps them in divs with the given group name class.

OCaml

Innovation. Community. Security.