type t
=
{
key : string ‑> Incr_dom_widgets__.Import.Vdom.Node.t; |
plain_text : string ‑> Incr_dom_widgets__.Import.Vdom.Node.t; |
}
A View_spec.t
allows the user to customize how the help text is converted to a
Vdom node.
val with_classes : key_class:string ‑> plain_text_class:string ‑> t
with_classes
converts all help text parts to text nodes and wraps them in spans
with the given classes. This allows the user to style the help text using CSS.