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/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) ->
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) ->
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)"
>