[−][src]Function seed::browser::dom::cast::to_keyboard_event
pub fn to_keyboard_event(event: &Event) -> &KeyboardEvent
Convert a web_sys::Event
to a web_sys::KeyboardEvent
. Useful for extracting
info like which key has been pressed, which is not available with normal Events.