Module scrollable
Available on crate feature
advanced only.Expand description
Operate on widgets that can be scrolled.
Structs§
- Absolute
Offset - The amount of absolute offset in each direction of a
Scrollable. - Relative
Offset - The amount of relative offset in each direction of a
Scrollable.
Traits§
- Scrollable
- The internal state of a widget that can be scrolled.
Functions§
- scroll_
by - Produces an
Operationthat scrolls the widget with the givenIdby the providedAbsoluteOffset. - scroll_
to - Produces an
Operationthat scrolls the widget with the givenIdto the providedAbsoluteOffset. - snap_to
- Produces an
Operationthat snaps the widget with the givenIdto the providedpercentage.