package bonsai

  1. Overview
  2. Docs
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

Sourcetype t = {
  1. wrap : Bonsai_web.Vdom.Node.t -> Bonsai_web.Vdom.Node.t;
    (*

    wrap is a function that you can call to attach the popover to an element.

    *)
  2. open_ : unit Bonsai_web.Effect.t;
    (*

    effect that when scheduled, will open the popover.

    *)
  3. close : unit Bonsai_web.Effect.t;
    (*

    effect that when scheduled, will close the popover.

    *)
  4. toggle : unit Bonsai_web.Effect.t;
    (*

    effect that when scheduled, will close or open the popover depending on the current state.

    *)
  5. is_open : bool;
}