snap_to

Function snap_to 

Source
pub fn snap_to<T>(
    target: Id,
    offset: RelativeOffset<Option<f32>>,
) -> impl Operation<T>
Expand description

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