Function silkenweb::window::on_resize

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

Add a resize event handler at the window level.

This only has an effect on WASM targets.