Expand description
Scrollable viewports driven by a ScrollableController.
§Usage
Turn a layout node into a scroll viewport with Modifier::vertical_scroll
or Modifier::horizontal_scroll to display content that overflows its
bounds.
Re-exports§
pub use crate::scrollable::scrollbar::ScrollBarState;pub use crate::scrollable::scrollbar::ScrollbarDefaults;pub use crate::scrollable::scrollbar::scrollbar_h;pub use crate::scrollable::scrollbar::scrollbar_v;
Modules§
- scrollbar
- Scrollbar components for scrollable viewports.
Structs§
- Scrollable
Controller - Holds the state for a
scrollablecomponent, managing scroll position and interaction.
Enums§
- Scroll
BarBehavior - Defines the behavior of the scrollbar visibility.
- Scroll
BarLayout - Defines the layout of the scrollbar relative to the scrollable content.