Skip to main content

install

Function install 

Source
pub fn install(ctx: &Context)
Expand description

Installs the focus plugin on a context (once; later calls do nothing): Escape leaves a text input before anything else sees it, see the order, the keys typed with an AccessKit Focus action reach the field it focuses, a widget the keyboard focuses comes into view in the scroll areas around it, nested ones included (the pointer’s focus leaves them where they are), and the focus keeps its place: Tab after Escape or after the focused widget went away goes on from there, and a widget removed hands the focus to its neighbour.