Skip to content

OCaml bindings for the floating positioning library for 'toplevel' virtual dom components

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.md
MIT
LICENSE.floating-ui
Notifications You must be signed in to change notification settings

janestreet/virtual_dom_toplayer

Repository files navigation

"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.

About

OCaml bindings for the floating positioning library for 'toplevel' virtual dom components

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE.md
MIT
LICENSE.floating-ui

Stars

Watchers

Forks

Packages

No packages published