Re-exports§
pub use scrollable_view::ScrollableView;pub use scrollable_view::ScrollableView;
Structs§
- Floating
- The core engine for calculating floating positions.
- Floating
Options - Configuration for the floating position calculation.
- Floating
Result - The result of a floating position calculation.
- Offset
Options - Offset options for the floating element.
- Scroll
State - Represents the geometric state of a scrollable container.
- Scrollable
Context - Context provided by the ScrollableView component.
Enums§
- Middleware
- Strategic logic used to adjust the floating position when it overflows the viewport.
- Placement
- Defines the preferred side and alignment of the floating element relative to its trigger.
Functions§
- Scrollable
View - A scrollable container that provides context for floating elements.
- use_
floating - Returns the global Floating engine instance.
- use_
placement - Reactive hook for positioning a floating element relative to a trigger element (anchor).
- use_
placement_ on_ point - Reactive hook for positioning a floating element relative to a specific point (e.g., mouse click).
- use_
scroll_ context - Accesses the nearest ScrollableContext provided by a ScrollableView.
- use_
scroll_ state - A shorthand hook to access the current ScrollState from the context.
- use_
scrollable_ ref - A shorthand hook to access the MountedData of the parent ScrollableView.