1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package bonsai
-
bonsai
-
-
bonsai.bench
-
bonsai.example_chat_open_source_native
-
bonsai.example_chat_open_source_native_common
-
-
bonsai.extra
-
-
bonsai.focus_ring
-
bonsai.protocol
-
bonsai.tailwind_colors
-
bonsai.test
-
bonsai.test.dot
-
bonsai.web_test
-
bonsai.web_ui_common_components
-
bonsai.web_ui_drag_and_drop
-
bonsai.web_ui_element_size_hooks
-
bonsai.web_ui_file
-
bonsai.web_ui_file_from_web_file
-
bonsai.web_ui_form
-
-
bonsai.web_ui_freeform_multiselect
-
bonsai.web_ui_multi_select
-
-
bonsai.web_ui_query_box
-
bonsai.web_ui_reorderable_list
-
bonsai.web_ui_typeahead
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Private = View
type t = Private.t
val to_vdom :
?custom:
( ?on_submit:Private.submission_options ->
?editable:Private.editable ->
t ->
Bonsai_web.Vdom.Node.t ) ->
?on_submit:Private.submission_options ->
?editable:Private.editable ->
t ->
Bonsai_web.Vdom.Node.t
Converts the form to a vdom node. By default, a table. A custom converter (likely written using the View.Expert module) can be specified to be used instead.
val to_vdom_plain : t -> Bonsai_web.Vdom.Node.t list
This function can be used to acquire the full list of leaf-node form elements sans any formatting, labeling, or error reporting.