package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.15.0.tar.gz
sha256=24c4c3149280abd639034ce3acf60e475a772202099e965be8bd8902524573ef
doc/bonsai.web_ui_common_components/Bonsai_web_ui_common_components/Pills/index.html
Module Bonsai_web_ui_common_components.Pills
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) ->
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
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) ->
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)"
>