package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.15.1.tar.gz
sha256=0c4a714146073f421f1a6179561f836b45d8dc012c743207d3481ea63bef74bf
doc/index.html
bonsai
API
Library bonsai
Library bonsai.bench
Library bonsai.example_chat_open_source_native
Library bonsai.example_chat_open_source_native_common
Library bonsai.extra
Library bonsai.focus_ring
Focus_ring
A simple data structure for keeping track of a focused element within a list. The focus wraps around so that callingprev
when the focus is the head of the list will cause the focus to move to the end. There is always a focused element -- i.e. there is noblur
operation.
Library bonsai.protocol
Library bonsai.tailwind_colors
Tailwind_colors
The color palettes included in the Tailwind CSS library, taken fromhttps://tailwindcss.com/docs/customizing-colors
on 2021-02-13. The larger the number on a color, the darker it is.
Library bonsai.test
Library bonsai.web
Library bonsai.web_test
Library bonsai.web_ui_common_components
Library bonsai.web_ui_drag_and_drop
Bonsai_web_ui_drag_and_drop
To use this API, first callcreate
to make a "universe" where drag-and-drop can happen. It is possible, and sometimes desireable to create multiple universes; for example, if two parts of an interface support drag-and-drop, but they are not meant to interact, each should probably have their own universe.
Library bonsai.web_ui_element_size_hooks
Library bonsai.web_ui_extendy
Library bonsai.web_ui_file
Bonsai_web_ui_file
An API that allows one to read files from the client's local disk.
Library bonsai.web_ui_file_from_web_file
Bonsai_web_ui_file_from_web_file
A library for creating and driving aBonsai_web_ui_file.t
using the Web File API.
Library bonsai.web_ui_form
Library bonsai.web_ui_freeform_multiselect
Library bonsai.web_ui_multi_select
Library bonsai.web_ui_query_box
Bonsai_web_ui_query_box
A textbox with suggested results, modeled off of Chrome's address bar.
Library bonsai.web_ui_reorderable_list
Library bonsai.web_ui_typeahead
Library bonsai_test_dot
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
-
API
- Library bonsai
- Library bonsai.bench
- Library bonsai.example_chat_open_source_native
- Library bonsai.example_chat_open_source_native_common
- Library bonsai.extra
- Library bonsai.focus_ring
- Library bonsai.protocol
- Library bonsai.tailwind_colors
- Library bonsai.test
- Library bonsai.web
- Library bonsai.web_test
- Library bonsai.web_ui_common_components
- Library bonsai.web_ui_drag_and_drop
- Library bonsai.web_ui_element_size_hooks
- Library bonsai.web_ui_extendy
- Library bonsai.web_ui_file
- Library bonsai.web_ui_file_from_web_file
- Library bonsai.web_ui_form
- Library bonsai.web_ui_freeform_multiselect
- Library bonsai.web_ui_multi_select
- Library bonsai.web_ui_query_box
- Library bonsai.web_ui_reorderable_list
- Library bonsai.web_ui_typeahead
- Library bonsai_test_dot