bonsai
A library for building dynamic webapps, using Js_of_ocaml
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
Library bonsai
Constructs a Bonsai component whose result is always the same as its input Incremental node.
val of_module :
(module Bonsai__Import.Component_s_incr
with type Action.t = 'a
and type Input.t = 'i
and type Model.t = 'm
and type Result.t = 'r) ->
default_model:'m ->
( 'i, 'r ) t
Transforms the result of a component, exposing the incrementality for optimization purposes.
Same as Bonsai.pure
but allows the user to optimize using Incremental.
Creates a Bonsai component where the given cutoff is applied to the incremental node for the component's model, preventing a component from being recalculated unnecessarily.
See Incr.set_cutoff
.
val value_cutoff : cutoff:'i Ui_incr.Cutoff.t -> ( 'i, 'i ) t
Creates a Bonsai component where the given cutoff is applied to the incremental node as input passes through the component, preventing a component from being recalculated unnecessarily.
See Incr.set_cutoff
.
ON THIS PAGE
No table of contents