Skip to main content

move_focus

Function move_focus 

Source
pub fn move_focus(target: i64) -> Option<(i64, i64)>
Expand description

Move keyboard focus to target (-1: off every element), as a browser’s focusing steps do: (blurred, focused) — the element that lost focus and the one that gained it, -1 for none — for the caller to raise blur and then focus on; None when focus is already there.