mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
Merge pull request #125 from koraysels/patch-1
documentation wrong for watchAcceleration
This commit is contained in:
commit
3894cb427d
@ -52,7 +52,7 @@ export interface accelerometerOptions {
|
||||
* );
|
||||
*
|
||||
* // Watch device acceleration
|
||||
* var subscription = DeviceMotion.watchPosition().subscribe(acceleration => {
|
||||
* var subscription = DeviceMotion.watchAcceleration().subscribe(acceleration => {
|
||||
* console.log(acceleration);
|
||||
* });
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user