Vibration

The Vibration API allows web applications to use the device's built-in vibration, if one is present.

API glimpse

navigator.vibrate(durationOrPattern)
Vibrate the device once for the duration given or according to durations pattern given.

Resources