setShakeThreshold()関数は、 deviceShaken()関数の動作閾値を設定するために使用されます。 デフォルトの閾値は30に設定されています。
実例
シンタックス
setShakeThreshold(value)
パラメーター
value
Number:
閾値
This page is generated from the comments in src/events/acceleration.js . Please feel free to edit it and submit a pull request!