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 assoc_input :
(module Bonsai__Import.Comparator
with type comparator_witness = 'cmp
and type t = 'key) ->
( 'data, 'result ) t ->
( ( 'key, 'data, 'cmp ) Core.Map.t, ( 'key, 'result, 'cmp ) Core.Map.t ) t
assoc_input
is used as a mapping function on a Map.t
in order to produce a new map.
val associ_input :
(module Bonsai__Import.Comparator
with type comparator_witness = 'cmp
and type t = 'key) ->
( 'key * 'data, 'result ) t ->
( ( 'key, 'data, 'cmp ) Core.Map.t, ( 'key, 'result, 'cmp ) Core.Map.t ) t
The same as assoc_input
but the component has access to the key as well as the data.
val associ_input_with_extra :
(module Bonsai__Import.Comparator
with type comparator_witness = 'cmp
and type t = 'key) ->
( 'key * 'data * 'input, 'result ) t ->
( ( 'key, 'data, 'cmp ) Core.Map.t * 'input,
( 'key, 'result, 'cmp ) Core.Map.t )
t
The same as associ_input
but with some extra stuff to be provided to the component in addition to the key and data.