Skip to main content

KeyboardEventExt

Trait KeyboardEventExt 

Source
pub trait KeyboardEventExt {
    // Required method
    fn is_press_event(&self) -> bool;
}
Expand description

Extension trait for KeyboardEventData with focus-related helpers.

Required Methods§

Source

fn is_press_event(&self) -> bool

Whether this event is the “press” gesture for a focusable node (Enter / Space, or Ctrl+Alt+Space on macOS with a screen reader).

Implementors§