Function leptos::window_event_listener_untyped
source ยท pub fn window_event_listener_untyped(
event_name: &str,
cb: impl Fn(Event) + 'static
) -> WindowListenerHandle
Expand description
Adds an event listener to the Window
, typed as a generic Event
,
returning a cancelable handle.