Skip to main content

get_scroll_offset

Function get_scroll_offset 

Source
pub fn get_scroll_offset(id: &str) -> (f32, f32)
Expand description

Returns the live (scroll_left, scroll_top) offset for the scrollable container with DOM id.