Function snap_to
pub fn snap_to<T>(
id: impl Into<Id>,
offset: impl Into<RelativeOffset<Option<f32>>>,
) -> Task<T>Expand description
Snaps the scrollable with the given Id to the provided RelativeOffset.
pub fn snap_to<T>(
id: impl Into<Id>,
offset: impl Into<RelativeOffset<Option<f32>>>,
) -> Task<T>Snaps the scrollable with the given Id to the provided RelativeOffset.