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.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/src/bonsai.web_ui_form/bonsai_web_ui_form.ml.html
Source file bonsai_web_ui_form.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29open! Core (** [With_manual_view] forms are now the recommended way to build forms in Bonsai. You get full control over how you'd like to combine them. Historically, [With_automatic_view] was the default, but they are quite restrictive and hard to customize, so we recommend choosing [With_manual_view] for new forms. *) module With_manual_view = struct include Form_manual module Elements = struct include Elements_manual include Typed_elements_manual end module Typed = Typed_manual module Private = struct include Elements_manual.Private end end (** [With_automatic_view] forms have their views composed in an opinionated way. This used to be the default and recommended way to build forms in Bonsai, but now people should prefer [With_manual_view] where possible. *) module With_automatic_view = struct include Form_automatic module Elements = Elements_automatic module Typed = Typed_automatic end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>