Javascript mobile vibrate
if ("vibrate" in navigator) {
// vibration API supported
}
navigator.vibrate([500, 300, 100]); for pattern vibrate
navigator.vibrate(200);
for single Milli seconds
OOPs of All
if ("vibrate" in navigator) {
// vibration API supported
}
navigator.vibrate([500, 300, 100]); for pattern vibrate
navigator.vibrate(200);
for single Milli seconds
Email us: youremail@gmail.com
0 comments:
Post a Comment