Function cosmic::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.