pub fn on_load(f: impl FnMut(Event) + 'static) -> EventCallback
Add a load event handler at the window level.
load
This only has an effect on WASM targets.