How to use the nativescript-vibrate.vibration function in nativescript-vibrate

To help you get started, we’ve selected a few nativescript-vibrate examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bradyhouse / house / fiddles / nativeScript / fiddle-0009-SqliteDb / puzzle / app / view / level-three / level-three.js View on Github external
completeLevel(level, function(level) {
    vibrator.vibration(2000);
    Dialogs.confirm({ title: 'W i n n e r', message: 'You solved the puzzle in ' + moves + ' moves!', okButtonText: 'Ok'}).then(function() {
      frame.topmost().navigate({
        moduleName: "view/high-score/add-high-score/add-high-score",
        context: myContext,
        animated: false
      });
    });
  }, frame);
}
github bradyhouse / house / fiddles / nativeScript / fiddle-0009-SqliteDb / puzzle / app / view / level-one / level-one.js View on Github external
completeLevel(level, function(level) {
    vibrator.vibration(2000);
    Dialogs.confirm({ title: 'W i n n e r', message: 'You solved the puzzle in ' + moves + ' moves!', okButtonText: 'Ok' }).then(function() {
      frame.topmost().navigate(nextScreen);
    });
  }, frame);
}
github bradyhouse / house / fiddles / nativeScript / fiddle-0009-SqliteDb / puzzle / app / view / level-two / level-two.js View on Github external
completeLevel(level, function(level) {
    vibrator.vibration(2000);
    Dialogs.confirm({ title: 'W i n n e r', message: 'You solved the puzzle in ' + moves + ' moves!', okButtonText: 'Ok'}).then(function() {
      frame.topmost().navigate({
        moduleName: "view/high-score/add-high-score/add-high-score",
        context: myContext,
        animated: false
      });
    });
  }, frame);
}

nativescript-vibrate

A vibrate NativeScript plugin for Android and iOS

MIT
Latest version published 4 years ago

Package Health Score

54 / 100
Full package analysis

Popular nativescript-vibrate functions