pub fn on_error(f: impl FnMut(Event) + 'static) -> EventCallbackExpand description
Add a error event handler at the window level.
This only has an effect on WASM targets.
pub fn on_error(f: impl FnMut(Event) + 'static) -> EventCallbackAdd a error event handler at the window level.
This only has an effect on WASM targets.