Function iced_native::widget::scrollable::snap_to
source · pub fn snap_to<Message: 'static>(
id: Id,
offset: RelativeOffset
) -> Command<Message>
Expand description
Produces a Command
that snaps the Scrollable
with the given Id
to the provided percentage
along the x & y axis.