Function silkenweb::window::on_hashchange

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

Add a hashchange event handler at the window level.

This only has an effect on WASM targets.