Skip to main content

queue_scroll_key

Function queue_scroll_key 

Source
pub fn queue_scroll_key<S: Spec>(cx: &mut PanelCx<'_, S>, key: ScrollKey)
Expand description

Queue a keyboard scroll step for this frame (call before the frame’s scroll_begins, e.g. at the top of the panel hook, with a key the app did not use otherwise). The container that takes it glides there; see [Chain] for which one.