package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303
doc/bonsai.web_ui_common_components/Bonsai_web_ui_common_components/Pills/index.html
Module Bonsai_web_ui_common_components.Pills
Source
Source
val of_list :
?extra_container_attr:Bonsai_web.Vdom.Attr.t Bonsai_web.Value.t ->
?extra_pill_attr:Bonsai_web.Vdom.Attr.t Bonsai_web.Value.t ->
to_string:('a -> string) Bonsai_web.Value.t ->
inject_selected_options:
('a list -> unit Bonsai_web.Effect.t) Bonsai_web.Value.t ->
'a list Bonsai_web.Value.t ->
Bonsai_web.Vdom.Node.t Bonsai_web.Computation.t
Source
val of_set :
?extra_container_attr:Bonsai_web.Vdom.Attr.t Bonsai_web.Value.t ->
?extra_pill_attr:Bonsai_web.Vdom.Attr.t Bonsai_web.Value.t ->
to_string:('a -> string) Bonsai_web.Value.t ->
inject_selected_options:
(('a, 'cmp) Core.Set.t -> unit Bonsai_web.Effect.t) Bonsai_web.Value.t ->
('a, 'cmp) Core.Set.t Bonsai_web.Value.t ->
Bonsai_web.Vdom.Node.t Bonsai_web.Computation.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>