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.15.1.tar.gz
sha256=0c4a714146073f421f1a6179561f836b45d8dc012c743207d3481ea63bef74bf
doc/bonsai/Bonsai/Clock/index.html
Module Bonsai.ClockSource
Functions allowing for the creation of time-dependent computations in a testable way.
The current time, updated at tick_every intervals.
The current time, update as frequently as possible.
Mirrors Incr.Clock.at, which changes from Before to After at the specified time.
Source
val every :
Core.Source_code_position.t ->
Core.Time_ns.Span.t ->
unit Effect.t Value.t ->
unit Computation.tAn event passed to every is scheduled on an interval determined by the time-span argument.
An effect for fetching the current time.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>