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