Function iced_core::widget::operation::scrollable::snap_to

source ยท
pub fn snap_to<T>(target: Id, offset: RelativeOffset) -> impl Operation<T>
Expand description

Produces an Operation that snaps the widget with the given Id to the provided percentage.