MDN Web Docs

Value

The acceleration property is an object providing information about acceleration on the three axes in the Device coordinate frame. Each axis is represented with its own property:

x

Represents the acceleration along the x axis

y

Represents the acceleration along the y axis

z

Represents the acceleration along the z axis

Specifications

Specification
Device Orientation and Motion
# dom-devicemotionevent-acceleration

Browser compatibility

See also

Help improve MDN

Yes No

Learn how to contribute

This page was last modified on by MDN contributors.

Read the original on developer.mozilla.org ↗