[−][src]Function seed::to_kbevent
pub fn to_kbevent(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.