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