Web features explorer

Accelerometer

Limited availability
Tags: api http Groups: Sensors

The Accelerometer, LinearAccelerationSensor and GravitySensor APIs read the acceleration applied to a device in three dimensions, either including the effect of gravity, without its effect, or only its effect, respectively. To learn more, see Accelerometer at MDN.

Compatibility

Specifications