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
val handle : Js_of_ocaml.Dom_html.event Js_of_ocaml.Js.t -> unit t -> unit
handle t
looks up the Handler.handle
function in the table of Define
d functions, unwraps the Effect.t
back into its underlying Action.t
, and applies the two. This is only intended for internal use by this library, specifically by the attribute code.
val handle_non_dom_event_exn : unit t -> unit
handle_non_dom_event_exn
is the same as handle
except that it raises in any case that would have required the #Dom_html.event Js.t
. In particular, this can be to feed Actions back to the system that are not triggered by events from the DOM and do not have a corresponding #Dom_html.event Js.t
.
ON THIS PAGE
No table of contents