use web/vibrationvibrate ( n → )Causes the device to vibrate for n milliseconds if it has the ability to do so.
Alternatively, n can be an array or values, alternating on, off, on, off.
vibrate.stop ( → )Stops any ongoing vibration pattern started by vibrate.
docs@04547c7