package bonsai
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.15.1.tar.gz
sha256=0c4a714146073f421f1a6179561f836b45d8dc012c743207d3481ea63bef74bf
doc/src/bonsai.web_test/import.ml.html
Source file import.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14
open! Core include Virtual_dom include Bonsai_web module Effect = struct type 'a t = 'a Vdom.Effect.t let no_op = Vdom.Effect.Ignore let sequence xs = Vdom.Effect.Many xs let external_ = External_event.inject end module Driver = Bonsai_test.Arrow.Driver include Expect_test_helpers_core
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>