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/bonsai.web_ui_popover/Bonsai_web_ui_popover/Result/index.html
Module Bonsai_web_ui_popover.ResultSource
Source
type t = {wrap : Bonsai_web.Vdom.Node.t -> Bonsai_web.Vdom.Node.t;(*
*)wrapis a function that you can call to attach the popover to an element.open_ : unit Bonsai_web.Effect.t;(*effect that when scheduled, will open the popover.
*)close : unit Bonsai_web.Effect.t;(*effect that when scheduled, will close the popover.
*)toggle : unit Bonsai_web.Effect.t;(*effect that when scheduled, will close or open the popover depending on the current state.
*)is_open : bool;
} sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>