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 domfeature.
Structs§
Enums§
- AlignedPlacement 
- Alignment
- Axis
- ElementOrVirtual 
- ElementOrWindow 
- Length
- OwnedElement OrVirtual 
- OwnedElement OrWindow 
- Padding
- Placement
- Side
- Strategy
Constants§
Traits§
- GetBoundingClient Rect Cloneable 
- GetBoundingClient Rect Cloneable Factory 
- GetClientRects Cloneable 
- GetClientRects Cloneable Factory 
- VirtualElement 
- Custom positioning reference element.
- VirtualElement 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