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
val reveal_value : 'a Value.t -> 'a Bonsai__Value.t
val conceal_value : 'a Bonsai__Value.t -> 'a Value.t
val reveal_computation : 'a Computation.t -> 'a Bonsai__Computation.packed
val conceal_computation : 'a Bonsai__Computation.packed -> 'a Computation.t
val path : Bonsai__Path.t Computation.t
module Value = Bonsai__Value
module Computation = Bonsai__Computation
module Apply_action : sig ... end
module Environment : sig ... end
module Meta : sig ... end
Meta.Model
and Meta.Action
contain the necessary functions associated with the hidden model and action types of Bonsai components. These are stored in Computation.packed
.
module Snapshot : sig ... end
A snapshot represents the state of a component at an instant in time.
module Lifecycle : sig ... end
module Path : sig ... end
module Node_path : sig ... end
module Graph_info : sig ... end
module Instrumentation : sig ... end
module Flatten_values : sig ... end
val eval :
environment:Environment.t ->
path:Path.t ->
clock:Ui_incr.Clock.t ->
model:'model Ui_incr.t ->
inject_dynamic:( 'dynamic_action -> unit Effect.t ) ->
inject_static:( 'static_action -> unit Effect.t ) ->
( 'model, 'dynamic_action, 'static_action, 'result ) Computation.t ->
( 'model, 'dynamic_action, 'result ) Snapshot.t
ON THIS PAGE
No table of contents