package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303

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;
}
OCaml

Innovation. Community. Security.