package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 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.