Function silkenweb::window::on_offline
source · pub fn on_offline(f: impl FnMut(Event) + 'static) -> EventCallback
Expand description
Add a offline
event handler at the window level.
This only has an effect on WASM targets.
pub fn on_offline(f: impl FnMut(Event) + 'static) -> EventCallback
Add a offline
event handler at the window level.
This only has an effect on WASM targets.