package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
bonsai-v0.14.0.tar.gz
sha256=43f35d648644492d776bf2c7b86c8227e7793615b6a658432e95f8dccd3631f8
md5=b5e743dbfa64d0da5fd660f14cd0b549
doc/bonsai.web/Bonsai_web/Bonsai/M/argument-1-Component/Action/index.html
Module Component.Action
Components can change their own Model.t
by issuing "actions" that perform the state transition. If you think of the state machine as having state-nodes of type Model.t
, then the arrows between those nodes would be of type Action.t
.
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>