pub fn window_event_listener(event_name: &str, cb: impl Fn(Event) + 'static)
Expand description

Adds an event listener to the Window.