mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
documentation wrong for watchAcceleration
documentation was wrong. watchPosition instead of watchAcceleration..
This commit is contained in:
parent
94de6b43d9
commit
17fa1c72b7
@ -52,7 +52,7 @@ export interface accelerometerOptions {
|
|||||||
* );
|
* );
|
||||||
*
|
*
|
||||||
* // Watch device acceleration
|
* // Watch device acceleration
|
||||||
* var subscription = DeviceMotion.watchPosition().subscribe(acceleration => {
|
* var subscription = DeviceMotion.watchAcceleration().subscribe(acceleration => {
|
||||||
* console.log(acceleration);
|
* console.log(acceleration);
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user