com.dtech.cordova.ios.vibrate

1.1.0 • Public • Published

Cordova ios vibrations

Installation

Will only vibrate on iOS >= 10

cordova plugin add com.dtech.cordova.ios.vibrate

alternatively

cordova plug add https://github.com/redolent/cordova-plugin-ios-vibrate

Usage

Vibrate.vibrate('heavy');
Vibrate.vibrate('light');
Vibrate.vibrate('medium');
Vibrate.vibrate('rigid');
Vibrate.vibrate('soft');
Vibrate.vibrate('success');
Vibrate.vibrate('warning');
Vibrate.vibrate('error');
Vibrate.vibrate('selectionChanged');

See also

https://developer.apple.com/documentation/uikit/uiimpactfeedbackgenerator/feedbackstyle

Package Sidebar

Install

npm i com.dtech.cordova.ios.vibrate

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

4.68 kB

Total Files

6

Last publish

Collaborators

  • claas91