An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
May 14, 2021 07:17 am GMT
Original Link: https://dev.to/raghav9official/how-to-vibrate-with-javascript-2a1m
How to vibrate with javascript
How to vibrate the JavaScript?
Though vibration can provide haptic feedback and a confirmation kinda thing which tells the user that an action has been performed.
That's easy use:
navigator.vibrate(200);
Or use hash.js and use:
hash().vibrate(200) //where 200 is the strength
Anddd if(article="nice"){hash(".btn").click()}
Original Link: https://dev.to/raghav9official/how-to-vibrate-with-javascript-2a1m
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To