You can use Vibration API to vibrate devices
You can use Vibration API to vibrate devices. The
Navigator.vibrate() method pulses the vibration hardware on the device, if such hardware exists.
navigator.vibrate(200); // vibrate for 200ms navigator.vibrate([100,30,100,30,100,30,200,30,200,30,200,30,100,30,100,30,100]); // Vibrate 'SOS' in Morse.
This site is ad-free and doesn’t use trackers. If you’d like to support my writing, I’d love if you could buy me a coffee.