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