Firefox Tomorrow

web api interface

DeviceMotionEventAcceleration

View on MDN ↗

Secure context

The DeviceMotionEventAcceleration interface of the Device Orientation Events provides information about the amount of acceleration the device is experiencing along all three axes.

Instance properties

  • x Read only
    • : The amount of acceleration along the X axis.
  • y Read only
    • : The amount of acceleration along the Y axis.
  • z Read only
    • : The amount of acceleration along the Z axis.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.