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