Module Incr_dom_widgets.Form
Typed Id
module Id : sig ... endId.tis an identifier for form elements
module Block : sig ... endBlock.t Id.tis an identifier for a block in a form.
module List_id : sig ... endList_id.tis an identifier for a list of form elements in a form.
module Variant_id : sig ... endVariant_id.tis an identifier for a variant selection in a form.
module Form_error : sig ... end
Form Description
module Description : sig ... endModule to create a form blueprint by taking basic building blocks (like bool or string fields) and combining them into more complex structures which can be themselves combined with other structures.
type ('a, 'ids) ttype ('a, 'ids) form= ('a, 'ids) t
val create : name:string -> ('a, 'a, 'ids) Description.t -> ('a, 'ids) tCreate a form from a form description. The name will only be used to provide better error messages.
val to_description : ('a, 'ids) t -> ('a, 'a, 'ids) Description.t
module State : sig ... end
List module
module List : sig ... endProvides operations related to lists of forms.
Input module
module Input : sig ... endWrappers to create VDom input fields using field ids.