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
Operation
that scrolls the widget with the givenId
by the providedAbsoluteOffset
. - scroll_
to - Produces an
Operation
that scrolls the widget with the givenId
to the providedAbsoluteOffset
. - snap_to
- Produces an
Operation
that snaps the widget with the givenId
to the providedpercentage
.