package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.13.0.tar.gz
sha256=5a492e4189037202ea780d228b2fd29da177da5c98dc2685f83968fc9f589d97
md5=36feac848fcb4118929df74939d1d111
doc/bonsai.web/Bonsai_web/Start/Handle/index.html
Module Start.Handle
A handle represents a running app, and can be used to schedule external actions, determine if the app has started, and stop the app.
val stop : (_, _, _) t -> unit
val started : (_, _, _) t -> unit Async_kernel.Deferred.t
val schedule : (_, 'incoming, _) t -> 'incoming -> unit
val set_input : ('input, _, _) t -> 'input -> unit
val outgoing : (_, _, 'outgoing) t -> 'outgoing Async_kernel.Pipe.Reader.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>