Vibration

使设备震动

代码实例

module.controller('MyCtrl', function($scope, $cordovaVibration) {

// 震动 100ms
$cordovaVibration.vibrate(100);

});