You're reading the Rask v1.0.0 guides.View source
All guides

IDeviceOrientation

Gyroscope/compass tilt (alpha/beta/gamma) pushed to a callback.

  • Wraps: Device Orientation events
  • MDN: Device orientation events
  • Home: Rask.Core.Browser (all hosts)
  • Shape: subscription (pushes to a callback)
  • Availability: Web/Server ✅ · PWA/WASM ✅

iOS requires a gesture-triggered permission grant.

See also