Crate floating_ui_core

source ·
Expand description

Rust port of Floating UI.

This is the platform-agnostic core of Floating UI, exposing the main compute_position function but no platform interface logic.

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

Modules§

Structs§

Enums§

Traits§

Functions§

  • Computes the x and y coordinates that will place the floating element next to a given reference element based on a placement.
  • Computes the x and y coordinates that will place the floating element next to a given reference element.
  • Resolves with an object of overflow side offsets that determine how much the element is overflowing a given clipping boundary on each side.

Type Aliases§