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_extendy/Bonsai_web_ui_extendy/index.html
Module Bonsai_web_ui_extendy
Source
Given a computation, builds a new computation that can hold a dynamic number of the wrapped computation.
Source
val component' :
'a Bonsai.For_open.Computation.t ->
wrap_remove:('a -> unit Bonsai.For_open.Effect.t -> 'b) ->
'b t Bonsai.For_open.Computation.t
Like component
, but with the power to extend the result of the input component with an event that removes itself.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>