package bonsai
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for building dynamic webapps, using Js_of_ocaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/bonsai.web_ui_extendy/Bonsai_web_ui_extendy/index.html
Module Bonsai_web_ui_extendySource
Source
type 'a t = {contents : 'a Id.Map.t;append : unit Bonsai.For_open.Effect.t;set_length : int -> unit Bonsai.For_open.Effect.t;remove : Id.t -> unit Bonsai.For_open.Effect.t;
}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.tLike 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)"
>