Function silkenweb::window::on_keydown

source ·
pub fn on_keydown(f: impl FnMut(KeyboardEvent) + 'static) -> EventCallback
Expand description

Add a keydown event handler at the window level.

This only has an effect on WASM targets.