redraw/dom/event/keyboard
KeyboardEvent objects describe a user interaction with the keyboard; each
event describes a single interaction between the user and a key (or
combination of a key with modifier keys) on the keyboard. The event type
(keydown,
keypress,
or keyup)
identifies what kind of keyboard activity occurred.
Types
pub type KeyboardEvent
Values
pub const as_ui_event: fn(KeyboardEvent) -> ui.UIEvent
KeyboardEvent inherits UIEvent.
pub fn get_modifier_state(
event: KeyboardEvent,
key: String,
) -> Bool