You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/03/23 20:14:11 UTC
svn commit: r1736375 [18/44] - in /cordova/site/public: ./
announcements/2016/03/22/ blog/ docs/en/6.x/guide/cli/
docs/en/6.x/guide/hybrid/plugins/ docs/en/6.x/reference/cordova-cli/
docs/en/6.x/reference/cordova-plugin-splashscreen/ docs/en/dev/cordov...
Modified: cordova/site/public/docs/en/dev/cordova-plugin-vibration/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/cordova-plugin-vibration/index.html?rev=1736375&r1=1736374&r2=1736375&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/cordova-plugin-vibration/index.html (original)
+++ cordova/site/public/docs/en/dev/cordova-plugin-vibration/index.html Wed Mar 23 19:14:10 2016
@@ -19,10 +19,8 @@
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="/static/css/main.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/lib/syntax.css">
-
- <link rel="stylesheet" type="text/css" href="/static/js/lib/prettify/prettify.css">
-
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
@@ -135,7 +133,7 @@
<li>
- <a class="" href="../guide/overview/index.html">
+ <a class="" href="../../../../../guide/overview/index.html">
Overview
</a>
@@ -176,7 +174,7 @@
<li>
- <a class="" href="../guide/cli/index.html">
+ <a class="" href="../../../../../guide/cli/index.html">
Create your first app
</a>
@@ -193,7 +191,7 @@
<li>
- <a class="" href="../guide/support/index.html">
+ <a class="" href="../../../../../guide/support/index.html">
Platform support
</a>
@@ -229,7 +227,7 @@
<li>
- <a class="" href="../guide/platforms/android/index.html">
+ <a class="" href="../../../../../guide/platforms/android/index.html">
Android
</a>
@@ -246,7 +244,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/home.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/home.html">
Blackberry 10
</a>
@@ -263,7 +261,7 @@
<li>
- <a class="" href="../guide/platforms/ios/index.html">
+ <a class="" href="../../../../../guide/platforms/ios/index.html">
iOS
</a>
@@ -280,7 +278,7 @@
<li>
- <a class="" href="../guide/platforms/osx/index.html">
+ <a class="" href="../../../../../guide/platforms/osx/index.html">
OS X
</a>
@@ -297,7 +295,7 @@
<li>
- <a class="" href="../guide/platforms/ubuntu/index.html">
+ <a class="" href="../../../../../guide/platforms/ubuntu/index.html">
Ubuntu
</a>
@@ -314,7 +312,7 @@
<li>
- <a class="" href="../guide/platforms/win8/index.html">
+ <a class="" href="../../../../../guide/platforms/win8/index.html">
Windows
</a>
@@ -331,7 +329,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/home.html">
+ <a class="" href="../../../../../guide/platforms/wp8/home.html">
WP8
</a>
@@ -353,7 +351,7 @@
<li>
- <a class="" href="../platform_plugin_versioning_ref/index.html">
+ <a class="" href="../../../../../platform_plugin_versioning_ref/index.html">
Manage versions and platforms
</a>
@@ -375,7 +373,7 @@
<li>
- <a class="" href="../config_ref/images.html">
+ <a class="" href="../../../../../config_ref/images.html">
Customize icons
</a>
@@ -397,7 +395,7 @@
<li>
- <a class="" href="../cordova/storage/storage.html">
+ <a class="" href="../../../../../cordova/storage/storage.html">
Store data
</a>
@@ -414,7 +412,7 @@
<li>
- <a class="" href="../guide/appdev/privacy/index.html">
+ <a class="" href="../../../../../guide/appdev/privacy/index.html">
Manage privacy
</a>
@@ -431,7 +429,7 @@
<li>
- <a class="" href="../guide/appdev/security/index.html">
+ <a class="" href="../../../../../guide/appdev/security/index.html">
Manage security
</a>
@@ -448,7 +446,7 @@
<li>
- <a class="" href="../guide/appdev/whitelist/index.html">
+ <a class="" href="../../../../../guide/appdev/whitelist/index.html">
Whitelisting
</a>
@@ -494,7 +492,7 @@
<li>
- <a class="" href="../guide/hybrid/plugins/index.html">
+ <a class="" href="../../../../../guide/hybrid/plugins/index.html">
Create a plugin
</a>
@@ -535,7 +533,7 @@
<li>
- <a class="" href="../guide/platforms/android/plugin.html">
+ <a class="" href="../../../../../guide/platforms/android/plugin.html">
Android
</a>
@@ -552,7 +550,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/plugin.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/plugin.html">
Blackberry 10
</a>
@@ -569,7 +567,7 @@
<li>
- <a class="" href="../guide/platforms/ios/plugin.html">
+ <a class="" href="../../../../../guide/platforms/ios/plugin.html">
iOS
</a>
@@ -586,7 +584,7 @@
<li>
- <a class="" href="../guide/platforms/win8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/win8/plugin.html">
Windows
</a>
@@ -603,7 +601,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/wp8/plugin.html">
WP8
</a>
@@ -625,7 +623,7 @@
<li>
- <a class="" href="../plugin_ref/plugman.html">
+ <a class="" href="../../../../../plugin_ref/plugman.html">
Use Plugman
</a>
@@ -671,7 +669,7 @@
<li>
- <a class="" href="../guide/hybrid/webviews/index.html">
+ <a class="" href="../../../../../guide/hybrid/webviews/index.html">
Embed Cordova in native apps
</a>
@@ -693,7 +691,7 @@
<li>
- <a class="" href="../guide/next/index.html">
+ <a class="" href="../../../../../guide/next/index.html">
Next Steps
</a>
@@ -734,7 +732,7 @@
<li>
- <a class="" href="../config_ref/index.html">
+ <a class="" href="../../../../../config_ref/index.html">
Config.xml
</a>
@@ -751,7 +749,7 @@
<li>
- <a class="" href="../cordova/events/events.html">
+ <a class="" href="../../../../../cordova/events/events.html">
Events
</a>
@@ -768,7 +766,7 @@
<li>
- <a class="" href="../cordova-cli/index.html">
+ <a class="" href="../../../../../reference/cordova-cli/index.html">
CLI
</a>
@@ -785,7 +783,7 @@
<li>
- <a class="" href="../guide/appdev/hooks/index.html">
+ <a class="" href="../../../../../guide/appdev/hooks/index.html">
Hooks
</a>
@@ -802,7 +800,7 @@
<li>
- <a class="" href="../plugin_ref/spec.html">
+ <a class="" href="../../../../../plugin_ref/spec.html">
Plugin.xml
</a>
@@ -838,7 +836,7 @@
<li>
- <a class="" href="../cordova-plugin-battery-status/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-battery-status/index.html">
Battery Status
</a>
@@ -855,7 +853,7 @@
<li>
- <a class="" href="../cordova-plugin-camera/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-camera/index.html">
Camera
</a>
@@ -872,7 +870,7 @@
<li>
- <a class="" href="../cordova-plugin-console/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-console/index.html">
Console
</a>
@@ -889,7 +887,7 @@
<li>
- <a class="" href="../cordova-plugin-contacts/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-contacts/index.html">
Contacts
</a>
@@ -906,7 +904,7 @@
<li>
- <a class="" href="../cordova-plugin-device/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device/index.html">
Device
</a>
@@ -923,7 +921,7 @@
<li>
- <a class="" href="../cordova-plugin-device-motion/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-motion/index.html">
Device Motion
</a>
@@ -940,7 +938,7 @@
<li>
- <a class="" href="../cordova-plugin-device-orientation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-orientation/index.html">
Device Orientation
</a>
@@ -957,7 +955,7 @@
<li>
- <a class="" href="../cordova-plugin-dialogs/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-dialogs/index.html">
Dialogs
</a>
@@ -974,7 +972,7 @@
<li>
- <a class="" href="../cordova-plugin-file/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file/index.html">
File
</a>
@@ -991,7 +989,7 @@
<li>
- <a class="" href="../cordova-plugin-file-transfer/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file-transfer/index.html">
File Transfer
</a>
@@ -1008,7 +1006,7 @@
<li>
- <a class="" href="../cordova-plugin-geolocation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-geolocation/index.html">
Geolocation
</a>
@@ -1025,7 +1023,7 @@
<li>
- <a class="" href="../cordova-plugin-globalization/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-globalization/index.html">
Globalization
</a>
@@ -1042,7 +1040,7 @@
<li>
- <a class="" href="../cordova-plugin-inappbrowser/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-inappbrowser/index.html">
Inappbrowser
</a>
@@ -1059,7 +1057,7 @@
<li>
- <a class="" href="../cordova-plugin-media/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media/index.html">
Media
</a>
@@ -1076,7 +1074,7 @@
<li>
- <a class="" href="../cordova-plugin-media-capture/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media-capture/index.html">
Media Capture
</a>
@@ -1093,7 +1091,7 @@
<li>
- <a class="" href="../cordova-plugin-network-information/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-network-information/index.html">
Network Information
</a>
@@ -1110,7 +1108,7 @@
<li>
- <a class="" href="../cordova-plugin-splashscreen/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-splashscreen/index.html">
Splashscreen
</a>
@@ -1127,13 +1125,13 @@
<li>
- <a class="this-page" href="../cordova-plugin-vibration/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-vibration/index.html">
Vibration
</a>
- <div id="page-toc" class="page-toc"></div>
+
</li>
@@ -1144,7 +1142,7 @@
<li>
- <a class="" href="../cordova-plugin-statusbar/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-statusbar/index.html">
Statusbar
</a>
@@ -1161,7 +1159,7 @@
<li>
- <a class="" href="../cordova-plugin-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-whitelist/index.html">
Whitelist
</a>
@@ -1178,7 +1176,7 @@
<li>
- <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-legacy-whitelist/index.html">
Legacy Whitelist
</a>
@@ -1210,10 +1208,10 @@
<!-- Page content -->
<div class="col-md-8 col-md-offset-1">
+ <div class=" content-header">
- <!-- ToC Dropdown (for XS and SM sizes only) -->
- <div class="toc-dropdown content-header visible-xs-block visible-sm-block">
- <div class="dropdown">
+ <!-- ToC Dropdown (for XS and SM sizes only) -->
+ <div class="toc-dropdown dropdown visible-xs-block visible-sm-block">
<button class="btn btn-default dropdown-toggle" type="button" id="tocDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
Table of Contents
<span class="caret"></span>
@@ -1225,7 +1223,7 @@
<li>
- <a class="" href="../guide/overview/index.html">
+ <a class="" href="../../../../../guide/overview/index.html">
Overview
</a>
</li>
@@ -1240,7 +1238,7 @@
<li>
- <a class="" href="../guide/cli/index.html">
+ <a class="" href="../../../../../guide/cli/index.html">
Create your first app
</a>
</li>
@@ -1249,7 +1247,7 @@
<li>
- <a class="" href="../guide/support/index.html">
+ <a class="" href="../../../../../guide/support/index.html">
Platform support
</a>
</li>
@@ -1261,7 +1259,7 @@
<li>
- <a class="" href="../guide/platforms/android/index.html">
+ <a class="" href="../../../../../guide/platforms/android/index.html">
Android
</a>
</li>
@@ -1270,7 +1268,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/home.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/home.html">
Blackberry 10
</a>
</li>
@@ -1279,7 +1277,7 @@
<li>
- <a class="" href="../guide/platforms/ios/index.html">
+ <a class="" href="../../../../../guide/platforms/ios/index.html">
iOS
</a>
</li>
@@ -1288,7 +1286,7 @@
<li>
- <a class="" href="../guide/platforms/osx/index.html">
+ <a class="" href="../../../../../guide/platforms/osx/index.html">
OS X
</a>
</li>
@@ -1297,7 +1295,7 @@
<li>
- <a class="" href="../guide/platforms/ubuntu/index.html">
+ <a class="" href="../../../../../guide/platforms/ubuntu/index.html">
Ubuntu
</a>
</li>
@@ -1306,7 +1304,7 @@
<li>
- <a class="" href="../guide/platforms/win8/index.html">
+ <a class="" href="../../../../../guide/platforms/win8/index.html">
Windows
</a>
</li>
@@ -1315,7 +1313,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/home.html">
+ <a class="" href="../../../../../guide/platforms/wp8/home.html">
WP8
</a>
</li>
@@ -1327,7 +1325,7 @@
<li>
- <a class="" href="../platform_plugin_versioning_ref/index.html">
+ <a class="" href="../../../../../platform_plugin_versioning_ref/index.html">
Manage versions and platforms
</a>
</li>
@@ -1339,7 +1337,7 @@
<li>
- <a class="" href="../config_ref/images.html">
+ <a class="" href="../../../../../config_ref/images.html">
Customize icons
</a>
</li>
@@ -1351,7 +1349,7 @@
<li>
- <a class="" href="../cordova/storage/storage.html">
+ <a class="" href="../../../../../cordova/storage/storage.html">
Store data
</a>
</li>
@@ -1360,7 +1358,7 @@
<li>
- <a class="" href="../guide/appdev/privacy/index.html">
+ <a class="" href="../../../../../guide/appdev/privacy/index.html">
Manage privacy
</a>
</li>
@@ -1369,7 +1367,7 @@
<li>
- <a class="" href="../guide/appdev/security/index.html">
+ <a class="" href="../../../../../guide/appdev/security/index.html">
Manage security
</a>
</li>
@@ -1378,7 +1376,7 @@
<li>
- <a class="" href="../guide/appdev/whitelist/index.html">
+ <a class="" href="../../../../../guide/appdev/whitelist/index.html">
Whitelisting
</a>
</li>
@@ -1396,7 +1394,7 @@
<li>
- <a class="" href="../guide/hybrid/plugins/index.html">
+ <a class="" href="../../../../../guide/hybrid/plugins/index.html">
Create a plugin
</a>
</li>
@@ -1411,7 +1409,7 @@
<li>
- <a class="" href="../guide/platforms/android/plugin.html">
+ <a class="" href="../../../../../guide/platforms/android/plugin.html">
Android
</a>
</li>
@@ -1420,7 +1418,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/plugin.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/plugin.html">
Blackberry 10
</a>
</li>
@@ -1429,7 +1427,7 @@
<li>
- <a class="" href="../guide/platforms/ios/plugin.html">
+ <a class="" href="../../../../../guide/platforms/ios/plugin.html">
iOS
</a>
</li>
@@ -1438,7 +1436,7 @@
<li>
- <a class="" href="../guide/platforms/win8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/win8/plugin.html">
Windows
</a>
</li>
@@ -1447,7 +1445,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/wp8/plugin.html">
WP8
</a>
</li>
@@ -1459,7 +1457,7 @@
<li>
- <a class="" href="../plugin_ref/plugman.html">
+ <a class="" href="../../../../../plugin_ref/plugman.html">
Use Plugman
</a>
</li>
@@ -1477,7 +1475,7 @@
<li>
- <a class="" href="../guide/hybrid/webviews/index.html">
+ <a class="" href="../../../../../guide/hybrid/webviews/index.html">
Embed Cordova in native apps
</a>
</li>
@@ -1489,7 +1487,7 @@
<li>
- <a class="" href="../guide/next/index.html">
+ <a class="" href="../../../../../guide/next/index.html">
Next Steps
</a>
</li>
@@ -1504,7 +1502,7 @@
<li>
- <a class="" href="../config_ref/index.html">
+ <a class="" href="../../../../../config_ref/index.html">
Config.xml
</a>
</li>
@@ -1513,7 +1511,7 @@
<li>
- <a class="" href="../cordova/events/events.html">
+ <a class="" href="../../../../../cordova/events/events.html">
Events
</a>
</li>
@@ -1522,7 +1520,7 @@
<li>
- <a class="" href="../cordova-cli/index.html">
+ <a class="" href="../../../../../reference/cordova-cli/index.html">
CLI
</a>
</li>
@@ -1531,7 +1529,7 @@
<li>
- <a class="" href="../guide/appdev/hooks/index.html">
+ <a class="" href="../../../../../guide/appdev/hooks/index.html">
Hooks
</a>
</li>
@@ -1540,7 +1538,7 @@
<li>
- <a class="" href="../plugin_ref/spec.html">
+ <a class="" href="../../../../../plugin_ref/spec.html">
Plugin.xml
</a>
</li>
@@ -1552,7 +1550,7 @@
<li>
- <a class="" href="../cordova-plugin-battery-status/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-battery-status/index.html">
Battery Status
</a>
</li>
@@ -1561,7 +1559,7 @@
<li>
- <a class="" href="../cordova-plugin-camera/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-camera/index.html">
Camera
</a>
</li>
@@ -1570,7 +1568,7 @@
<li>
- <a class="" href="../cordova-plugin-console/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-console/index.html">
Console
</a>
</li>
@@ -1579,7 +1577,7 @@
<li>
- <a class="" href="../cordova-plugin-contacts/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-contacts/index.html">
Contacts
</a>
</li>
@@ -1588,7 +1586,7 @@
<li>
- <a class="" href="../cordova-plugin-device/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device/index.html">
Device
</a>
</li>
@@ -1597,7 +1595,7 @@
<li>
- <a class="" href="../cordova-plugin-device-motion/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-motion/index.html">
Device Motion
</a>
</li>
@@ -1606,7 +1604,7 @@
<li>
- <a class="" href="../cordova-plugin-device-orientation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-orientation/index.html">
Device Orientation
</a>
</li>
@@ -1615,7 +1613,7 @@
<li>
- <a class="" href="../cordova-plugin-dialogs/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-dialogs/index.html">
Dialogs
</a>
</li>
@@ -1624,7 +1622,7 @@
<li>
- <a class="" href="../cordova-plugin-file/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file/index.html">
File
</a>
</li>
@@ -1633,7 +1631,7 @@
<li>
- <a class="" href="../cordova-plugin-file-transfer/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file-transfer/index.html">
File Transfer
</a>
</li>
@@ -1642,7 +1640,7 @@
<li>
- <a class="" href="../cordova-plugin-geolocation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-geolocation/index.html">
Geolocation
</a>
</li>
@@ -1651,7 +1649,7 @@
<li>
- <a class="" href="../cordova-plugin-globalization/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-globalization/index.html">
Globalization
</a>
</li>
@@ -1660,7 +1658,7 @@
<li>
- <a class="" href="../cordova-plugin-inappbrowser/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-inappbrowser/index.html">
Inappbrowser
</a>
</li>
@@ -1669,7 +1667,7 @@
<li>
- <a class="" href="../cordova-plugin-media/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media/index.html">
Media
</a>
</li>
@@ -1678,7 +1676,7 @@
<li>
- <a class="" href="../cordova-plugin-media-capture/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media-capture/index.html">
Media Capture
</a>
</li>
@@ -1687,7 +1685,7 @@
<li>
- <a class="" href="../cordova-plugin-network-information/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-network-information/index.html">
Network Information
</a>
</li>
@@ -1696,7 +1694,7 @@
<li>
- <a class="" href="../cordova-plugin-splashscreen/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-splashscreen/index.html">
Splashscreen
</a>
</li>
@@ -1705,7 +1703,7 @@
<li>
- <a class="this-page" href="../cordova-plugin-vibration/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-vibration/index.html">
Vibration
</a>
</li>
@@ -1714,7 +1712,7 @@
<li>
- <a class="" href="../cordova-plugin-statusbar/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-statusbar/index.html">
Statusbar
</a>
</li>
@@ -1723,7 +1721,7 @@
<li>
- <a class="" href="../cordova-plugin-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-whitelist/index.html">
Whitelist
</a>
</li>
@@ -1732,7 +1730,7 @@
<li>
- <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-legacy-whitelist/index.html">
Legacy Whitelist
</a>
</li>
@@ -1751,13 +1749,13 @@
</ul>
</div>
- </div>
- <div class="content-header">
+
+
+ <a class="edit" href="https://github.com/apache/cordova-plugin-vibration/blob/2.1.0/README.md"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit</a>
- <a class="edit" href="https://github.com/apache/cordova-plugin-vibration/blob/2.1.0/README.md">
- <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
- </a>
+
+
<!-- Language dropdown -->
<div class="dropdown">
@@ -2041,7 +2039,9 @@
<!-- Version dropdown -->
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="versionDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
- dev
+ 6.x
+
+ (Latest)
<span class="caret"></span>
</button>
@@ -2052,6 +2052,11 @@
<li>
+
+
+
+
+
@@ -2060,12 +2065,10 @@
<a href="/docs/en/dev/cordova-plugin-vibration/index.html">
- <span class="selected">
-
+
dev
- </span>
</a>
</li>
@@ -2073,20 +2076,27 @@
<li>
+
+
+
+
+
- <a href="/docs/en/6.x/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
-
+ <span class="selected">
+
6.x
(Latest)
+ </span>
</a>
</li>
@@ -2094,13 +2104,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/5.4.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
5.4.0
@@ -2113,13 +2128,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/5.1.1/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
5.1.1
@@ -2132,13 +2152,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/5.0.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
5.0.0
@@ -2151,13 +2176,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/4.0.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
4.0.0
@@ -2170,13 +2200,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.6.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.6.0
@@ -2189,13 +2224,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.5.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.5.0
@@ -2208,13 +2248,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.4.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.4.0
@@ -2227,13 +2272,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.3.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.3.0
@@ -2246,13 +2296,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.2.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.2.0
@@ -2265,13 +2320,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.1.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.1.0
@@ -2284,13 +2344,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.0.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
3.0.0
@@ -2303,13 +2368,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.9.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.9.0
@@ -2322,13 +2392,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.8.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.8.0
@@ -2341,13 +2416,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.7.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.7.0
@@ -2360,13 +2440,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.6.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.6.0
@@ -2379,13 +2464,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.5.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.5.0
@@ -2398,13 +2488,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.4.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.4.0
@@ -2417,13 +2512,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.3.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.3.0
@@ -2436,13 +2536,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.2.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.2.0
@@ -2455,13 +2560,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.1.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.1.0
@@ -2474,13 +2584,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.0.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
2.0.0
@@ -2493,13 +2608,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.9.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.9.0
@@ -2512,13 +2632,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.8.1/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.8.1
@@ -2531,13 +2656,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.8.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.8.0
@@ -2550,13 +2680,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.7.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.7.0
@@ -2569,13 +2704,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.6.1/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.6.1
@@ -2588,13 +2728,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.6.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.6.0
@@ -2607,13 +2752,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.5.0/cordova-plugin-vibration/index.html">
+ <a href="/docs/en/dev/cordova-plugin-vibration/index.html">
1.5.0
@@ -2635,23 +2785,6 @@
<!-- Show warnings for special versions (i.e. non-latest, and dev) -->
-
-
-
-
-
- <div class="alert alert-info docs-alert" role="alert">
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- This version of the documentation is under development!
- <a href="/docs/en/latest/cordova-plugin-vibration/index.html">
- Click here for the latest released version.
- </a>
- </div>
-
-
-
<div class="alert alert-warning docs-alert" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
@@ -2691,16 +2824,16 @@
<p>This plugin provides a way to vibrate the device.</p>
-<p>This plugin defines global objects including <code class="prettyprint">navigator.vibrate</code>.</p>
+<p>This plugin defines global objects including <code>navigator.vibrate</code>.</p>
-<p>Although in the global scope, they are not available until after the <code class="prettyprint">deviceready</code> event.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">document.addEventListener("deviceready", onDeviceReady, false);
+<p>Although in the global scope, they are not available until after the <code>deviceready</code> event.</p>
+<div class="highlight"><pre><code class="language-" data-lang="">document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(navigator.vibrate);
}
</code></pre></div>
<h2>Installation</h2>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add cordova-plugin-vibration
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-vibration
</code></pre></div>
<h2>Supported Platforms</h2>
@@ -2733,15 +2866,15 @@ navigator.notification.cancelVibration</
<h3>Standard vibrate</h3>
<p>Vibrates the device for a given amount of time.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.vibrate(time)
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.vibrate(time)
</code></pre></div>
<p>or</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.vibrate([time])
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.vibrate([time])
</code></pre></div>
<p>-<strong>time</strong>: Milliseconds to vibrate the device. <em>(Number)</em></p>
<h4>Example</h4>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Vibrate for 3 seconds
+<div class="highlight"><pre><code class="language-" data-lang="">// Vibrate for 3 seconds
navigator.vibrate(3000);
// Vibrate for 3 seconds
@@ -2766,14 +2899,14 @@ navigator.vibrate([3000]);
<h3>Vibrate with a pattern (Android and Windows only)</h3>
<p>Vibrates the device with a given pattern</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.vibrate(pattern);
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.vibrate(pattern);
</code></pre></div>
<ul>
<li><strong>pattern</strong>: Sequence of durations (in milliseconds) for which to turn on or off the vibrator. <em>(Array of Numbers)</em></li>
</ul>
<h4>Example</h4>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Vibrate for 1 second
+<div class="highlight"><pre><code class="language-" data-lang="">// Vibrate for 1 second
// Wait for 1 second
// Vibrate for 3 seconds
// Wait for 1 second
@@ -2789,34 +2922,34 @@ navigator.vibrate([1000, 1000, 3000, 100
<h3>Cancel vibration (not supported in iOS)</h3>
<p>Immediately cancels any currently running vibration.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.vibrate(0)
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.vibrate(0)
</code></pre></div>
<p>or</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.vibrate([])
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.vibrate([])
</code></pre></div>
<p>or</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.vibrate([0])
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.vibrate([0])
</code></pre></div>
<p>Passing in a parameter of 0, an empty array, or an array with one element of value 0 will cancel any vibrations.</p>
<h2>*notification.vibrate (deprecated)</h2>
<p>Vibrates the device for a given amount of time.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.notification.vibrate(time)
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.notification.vibrate(time)
</code></pre></div>
<ul>
<li><strong>time</strong>: Milliseconds to vibrate the device. <em>(Number)</em></li>
</ul>
<h3>Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Vibrate for 2.5 seconds
+<div class="highlight"><pre><code class="language-" data-lang="">// Vibrate for 2.5 seconds
navigator.notification.vibrate(2500);
</code></pre></div>
<h3>iOS Quirks</h3>
<ul>
<li><p><strong>time</strong>: Ignores the specified time and vibrates for a pre-set amount of time.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.notification.vibrate();
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.notification.vibrate();
navigator.notification.vibrate(2500); // 2500 is ignored
</code></pre></div></li>
</ul>
@@ -2824,7 +2957,7 @@ navigator.notification.vibrate(2500);
<h2>*notification.vibrateWithPattern (deprecated)</h2>
<p>Vibrates the device with a given pattern.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.notification.vibrateWithPattern(pattern, repeat)
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.notification.vibrateWithPattern(pattern, repeat)
</code></pre></div>
<ul>
<li><strong>pattern</strong>: Sequence of durations (in milliseconds) for which to turn on or off the vibrator. <em>(Array of Numbers)</em></li>
@@ -2832,7 +2965,7 @@ navigator.notification.vibrate(2500);
</ul>
<h3>Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// Immediately start vibrating
+<div class="highlight"><pre><code class="language-" data-lang="">// Immediately start vibrating
// vibrate for 100ms,
// wait for 100ms,
// vibrate for 200ms,
@@ -2846,7 +2979,7 @@ navigator.notification.vibrateWithPatter
<h2>*notification.cancelVibration (deprecated)</h2>
<p>Immediately cancels any currently running vibration.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">navigator.notification.cancelVibration()
+<div class="highlight"><pre><code class="language-" data-lang="">navigator.notification.cancelVibration()
</code></pre></div>
<p>*Note - due to alignment with w3c spec, the starred methods will be phased out</p>
@@ -2929,7 +3062,6 @@ navigator.notification.vibrateWithPatter
</div>
</footer>
-<script defer type="text/javascript" src="/static/js/lib/prettify/prettify.js"></script>
<script defer type="text/javascript" src="/static/js/index.js"></script>
<script defer type="text/javascript" src="/static/js/twitter.js"></script>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org