Function iced::widget::scrollable::snap_to

source ·
pub fn snap_to<Message>(id: Id, offset: RelativeOffset) -> Command<Message>
where Message: 'static,
Expand description

Produces a Command that snaps the Scrollable with the given Id to the provided percentage along the x & y axis.