Skip to main content

snap_to

Function snap_to 

pub fn snap_to<T>(id: Id, offset: RelativeOffset<Option<f32>>) -> Task<T>
Expand description

Produces a Task that snaps the Scrollable with the given Id to the provided RelativeOffset.