MDN self-hosted library · e01.org

DeviceMotionEventRotationRate

Device Orientation Events

no runnable cells web-api-interface upstream source

Device Orientation Events

A DeviceMotionEventRotationRate interface of the provides information about the rate at which the device is rotating around all three axes.

Instance properties

  • DeviceMotionEventRotationRate.alpha
  • : The amount of rotation around the Z axis, in degrees per second.
  • DeviceMotionEventRotationRate.beta
  • : The amount of rotation around the X axis, in degrees per second.
  • DeviceMotionEventRotationRate.gamma
  • : The amount of rotation around the Y axis, in degrees per second.

Specifications

Browser compatibility