Function silkenweb::window::on_load

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

Add a load event handler at the window level.

This only has an effect on WASM targets.