Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vibrate javascript

window.navigator.vibrate(200); // vibrate for 200ms
window.navigator.vibrate([100,30,100,30,100,30,200,30,200,30,200,30,100,30,100,30,100]); // Vibrate 'SOS' in Morse.
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #vibrate #javascript
ADD COMMENT
Topic
Name
2+9 =