Reference deviceMoved()

deviceMoved()

The deviceMoved() function is called when the device is moved by more than the threshold value along X, Y or Z axis. The default threshold is set to 0.5. The threshold value can be changed using setMoveThreshold().

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/events/acceleration.js and open a pull request!

Related References