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