Crate floating_ui_dom

Source
Expand description

Rust port of Floating UI.

This is the library to use Floating UI on the web, wrapping floating_ui_core with DOM interface logic.

See the Rust Floating UI book for more documenation.

See @floating-ui/dom for the original package.

Re-exports§

Structs§

Enums§

Constants§

Traits§

Functions§

  • Automatically updates the position of the floating element when necessary. Should only be called when the floating element is mounted on the DOM or visible on the screen.
  • Computes the x and y coordinates that will place the floating element next to a given reference element.

Type Aliases§