pub fn snap_to<T>(id: impl Into<Id>, offset: RelativeOffset) -> Task<T>
Expand description
Produces a [Task
] that snaps the Scrollable
with the given Id
to the provided RelativeOffset
.
pub fn snap_to<T>(id: impl Into<Id>, offset: RelativeOffset) -> Task<T>
Produces a [Task
] that snaps the Scrollable
with the given Id
to the provided RelativeOffset
.