Firefox Tomorrow

web api interface

DeviceMotionEventRotationRate

View on MDN ↗

Secure context

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

Instance properties

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

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.