Skip to main content

scroll_position_id

Function scroll_position_id 

Source
pub fn scroll_position_id(
    view: &ViewHandle,
    state: &BoundState<String>,
    anchor: Option<(f64, f64)>,
) -> ViewHandle
Expand description

Apply .scrollPosition(id:anchor:).

The anchor is an optional UnitPoint, which travels as three integer registers rather than two float ones and a tag.