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_typeahead
val create :
?extra_attrs:Bonsai_web.Vdom.Attr.t list Bonsai_web.Value.t ->
?placeholder:string ->
?on_select_change:( 'a option -> unit Ui_effect.t ) Bonsai_web.Value.t ->
?to_string:( 'a -> string ) Bonsai_web.Value.t ->
(module Bonsai_web.Bonsai.Model with type t = 'a) ->
all_options:'a list Bonsai_web.Value.t ->
('a option * Bonsai_web.Vdom.Node.t * ( 'a option -> unit Ui_effect.t ))
Bonsai_web.Computation.t
create
returns a typeahead using native browser controls.
val create_multi :
?extra_attrs:Bonsai_web.Vdom.Attr.t list Bonsai_web.Value.t ->
?placeholder:string ->
?on_set_change:
( ( 'a, 'cmp ) Core.Set.t -> unit Ui_effect.t ) Bonsai_web.Value.t ->
?to_string:( 'a -> string ) ->
?split:( string -> string list ) ->
( 'a, 'cmp ) Bonsai_web.Bonsai.comparator ->
all_options:'a list Bonsai_web.Value.t ->
(( 'a, 'cmp ) Core.Set.t
* Bonsai_web.Vdom.Node.t
* ( ( 'a, 'cmp ) Core.Set.t ->
unit Ui_effect.t ))
Bonsai_web.Computation.t
ON THIS PAGE
No table of contents