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