Crate dioxus_floating

Crate dioxus_floating 

Source

Re-exports§

pub use scrollable_view::ScrollableView;
pub use scrollable_view::ScrollableView;

Structs§

Floating
The core engine for calculating floating positions.
FloatingOptions
Configuration for the floating position calculation.
FloatingResult
The result of a floating position calculation.
ScrollState
Represents the geometric state of a scrollable container.
ScrollableContext
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§

ScrollableView
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.