This read-only property indicates the amount of acceleration that occurred along the X
axis in a
var xAccel = DeviceMotionEventAcceleration.x;
doubleindicating the amount of acceleration along the X axis. See Accelerometer values explained for details.
|DeviceOrientation Event Specification
The definition of 'DeviceMotionEventAcceleration: x' in that specification.
BCD tables only load in the browser