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/Bonsai_web/To_incr_dom/index.html
Module Bonsai_web.To_incr_dom
module type S = sig ... end
A wrapper to use Bonsai components in Incr_dom apps.
val convert :
('input Bonsai.Value.t -> Virtual_dom.Vdom.Node.t Bonsai.Computation.t) ->
(module S
with type Extra.t = unit
and type Input.t = 'input)
val convert_with_extra :
('input Bonsai.Value.t ->
(Virtual_dom.Vdom.Node.t * 'extra) Bonsai.Computation.t) ->
(module S
with type Extra.t = 'extra
and type Input.t = 'input)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>