Function silkenweb::window::on_mousedown

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

Add a mousedown event handler at the window level.

This only has an effect on WASM targets.