संदर्भ setShakeThreshold()

setShakeThreshold()

The setShakeThreshold() function is used to set the movement threshold for the deviceShaken() function. The default threshold is set to 30.

उदाहरण

सिंटैक्स

setShakeThreshold(value)

पैरामीटर्स

value
Number:

The threshold value

This page is generated from the comments in src/events/acceleration.js . Please feel free to edit it and submit a pull request!

संबंधित संदर्भ