Function iced::widget::scrollable::snap_to

pub fn snap_to<Message>(id: Id, percentage: f32) -> Command<Message>where
    Message: 'static,
Expand description

Produces a Command that snaps the [Scrollable] with the given Id to the provided percentage.