Skip to main content

native_scroll_progress

Function native_scroll_progress 

Source
pub fn native_scroll_progress(handle: &ScrollHandle, axis: Axis) -> f64
Expand description

Reads native scroll offsets and extents; unscrollable content returns zero. Handles CE’s negative scroll offsets and positive maximum extents.