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.web_ui_multi_select
val selection : ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t
val inject : ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t
val key_handler :
( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t
val view_for_testing : ( t, string Core.Lazy.t ) Fieldslib.Field.t
val view : ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t
val fold :
init:'acc__0 ->
view:
( 'acc__0 -> ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t -> 'acc__1 ) ->
view_for_testing:
( 'acc__1 -> ( t, string Core.Lazy.t ) Fieldslib.Field.t -> 'acc__2 ) ->
key_handler:
( 'acc__2 ->
( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t ->
'acc__3 ) ->
inject:
( 'acc__3 ->
( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
'acc__4 ) ->
selection:
( 'acc__4 -> ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t -> 'acc__5 ) ->
'acc__5
val make_creator :
view:
( ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t ->
'acc__0 ->
( 'input__ -> Bonsai_web.Vdom.Node.t ) * 'acc__1 ) ->
view_for_testing:
( ( t, string Core.Lazy.t ) Fieldslib.Field.t ->
'acc__1 ->
( 'input__ -> string Core.Lazy.t ) * 'acc__2 ) ->
key_handler:
( ( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t ->
'acc__2 ->
( 'input__ -> Vdom_keyboard.Keyboard_event_handler.t ) * 'acc__3 ) ->
inject:
( ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
'acc__3 ->
( 'input__ -> Action.t -> unit Bonsai_web.Vdom.Effect.t ) * 'acc__4 ) ->
selection:
( ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t ->
'acc__4 ->
( 'input__ -> Item.Set.t Key.Map.t ) * 'acc__5 ) ->
'acc__0 ->
( 'input__ -> t ) * 'acc__5
val create :
view:Bonsai_web.Vdom.Node.t ->
view_for_testing:string Core.Lazy.t ->
key_handler:Vdom_keyboard.Keyboard_event_handler.t ->
inject:( Action.t -> unit Bonsai_web.Vdom.Effect.t ) ->
selection:Item.Set.t Key.Map.t ->
t
val map :
view:
( ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t ->
Bonsai_web.Vdom.Node.t ) ->
view_for_testing:
( ( t, string Core.Lazy.t ) Fieldslib.Field.t -> string Core.Lazy.t ) ->
key_handler:
( ( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t ->
Vdom_keyboard.Keyboard_event_handler.t ) ->
inject:
( ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
Action.t ->
unit Bonsai_web.Vdom.Effect.t ) ->
selection:
( ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t -> Item.Set.t Key.Map.t ) ->
t
val iter :
view:( ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t -> unit ) ->
view_for_testing:( ( t, string Core.Lazy.t ) Fieldslib.Field.t -> unit ) ->
key_handler:
( ( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t -> unit ) ->
inject:
( ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
unit ) ->
selection:( ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t -> unit ) ->
unit
val for_all :
view:( ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t -> bool ) ->
view_for_testing:( ( t, string Core.Lazy.t ) Fieldslib.Field.t -> bool ) ->
key_handler:
( ( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t -> bool ) ->
inject:
( ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
bool ) ->
selection:( ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t -> bool ) ->
bool
val exists :
view:( ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t -> bool ) ->
view_for_testing:( ( t, string Core.Lazy.t ) Fieldslib.Field.t -> bool ) ->
key_handler:
( ( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t -> bool ) ->
inject:
( ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
bool ) ->
selection:( ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t -> bool ) ->
bool
val to_list :
view:( ( t, Bonsai_web.Vdom.Node.t ) Fieldslib.Field.t -> 'elem__ ) ->
view_for_testing:( ( t, string Core.Lazy.t ) Fieldslib.Field.t -> 'elem__ ) ->
key_handler:
( ( t, Vdom_keyboard.Keyboard_event_handler.t ) Fieldslib.Field.t ->
'elem__ ) ->
inject:
( ( t, Action.t -> unit Bonsai_web.Vdom.Effect.t ) Fieldslib.Field.t ->
'elem__ ) ->
selection:( ( t, Item.Set.t Key.Map.t ) Fieldslib.Field.t -> 'elem__ ) ->
'elem__ list
val map_poly :
( [< `Read | `Set_and_create ], t, 'x0 ) Fieldslib.Field.user ->
'x0 list
module Direct : sig ... end
ON THIS PAGE
No table of contents