Skip to main content

Module scrollable

Module scrollable 

Source
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§

ScrollableController
Holds the state for a scrollable component, managing scroll position and interaction.

Enums§

ScrollBarBehavior
Defines the behavior of the scrollbar visibility.
ScrollBarLayout
Defines the layout of the scrollbar relative to the scrollable content.