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
module Dimensions : sig ... end
module Options : sig ... end
When attached to a Vdom node, this attribute will monitor the size of this node, and report any changes to the size through the provided callback.
Note: in almost all cases, you'll want to have box-sizing: border-box set on your node in order for it to measure the size of the element by looking at the border-size.
val component :
( 'key, 'cmp ) Bonsai_web.Bonsai.comparator ->
'contained Options.t ->
(( 'key, 'contained, 'cmp ) Base.Map.t * ( 'key -> Bonsai_web.Vdom.Attr.t ))
Bonsai_web.Computation.t
module For_testing : sig ... end