Expand description
Rust port of Floating UI.
Utility functions shared across Floating UI packages. You may use these functions in your own projects, but are subject to breaking changes.
See the Rust Floating UI book for more documenation.
See @floating-ui/utils for the original package.
Modules§
- dom
- Utility functions for the DOM. Requires
dom
feature.
Structs§
Enums§
- Aligned
Placement - Alignment
- Axis
- Element
OrVirtual - Element
OrWindow - Length
- Owned
Element OrVirtual - Owned
Element OrWindow - Padding
- Placement
- Side
- Strategy
Constants§
Traits§
- GetBounding
Client Rect Cloneable - GetBounding
Client Rect Cloneable Factory - GetClient
Rects Cloneable - GetClient
Rects Cloneable Factory - Virtual
Element - Custom positioning reference element.
- Virtual
Element Factory - Custom positioning reference element.
Functions§
- clamp
- expand_
padding_ object - get_
alignment - get_
alignment_ axis - get_
alignment_ sides - get_
axis_ length - get_
expanded_ placements - get_
opposite_ alignment_ placement - get_
opposite_ axis - get_
opposite_ axis_ placements - get_
opposite_ placement - get_
opposite_ side - get_
padding_ object - get_
placement - get_
side - get_
side_ axis - get_
side_ list - rect_
to_ client_ rect