mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
Added comment for iOS.
It doesn't matter what you send as the duration to vibrate() under iOS, it's always the same.
This commit is contained in:
parent
2503ef2ee5
commit
066821dbec
@ -10,6 +10,7 @@ import { Cordova, Plugin } from './plugin';
|
||||
*
|
||||
*
|
||||
* // Vibrate the device for a second
|
||||
* // Duration is ignored on iOS.
|
||||
* Vibration.vibrate(1000);
|
||||
*
|
||||
* // Vibrate 2 seconds
|
||||
|
Loading…
Reference in New Issue
Block a user