package virtual_dom_toplayer

  1. Overview
  2. Docs
OCaml bindings for the floating positioning library for 'toplevel' virtual dom components

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=b525b0ba3607f142d417fe6edf1a08dbed86ae4e817680fb9bc191959b7a3aea

Description

The floating positioning library itself may be found at https://floating-ui.com/

Published: 26 May 2024

README

"Vdom Popover, Tooltip"

This library contains vdom utils for creating and positioning popovers, tooltips, and modals.

Positioning is done via floating_positioning: bindings to the "floating ui" JS library.

Placement is done through a combination of the browser top-layer and portaling. This enables a convenient API, where all users need to do is attach a Vdom.Attr.t to the popover / tooltip's anchor element.

Dependencies (10)

  1. js_of_ocaml-ppx >= "5.1.1" & < "5.7.0"
  2. js_of_ocaml >= "5.1.1" & < "5.7.0"
  3. gen_js_api >= "1.0.8"
  4. dune >= "3.11.0"
  5. virtual_dom >= "v0.17" & < "v0.18"
  6. ppx_jane >= "v0.17" & < "v0.18"
  7. ppx_css >= "v0.17" & < "v0.18"
  8. js_of_ocaml_patches >= "v0.17" & < "v0.18"
  9. core >= "v0.17" & < "v0.18"
  10. ocaml >= "5.1.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.