The Vibration API

Part of Mozilla’s WebAPI, to controlling vibration of (handheld) devices:

The idea with the Vibration API is to be able to give the user a notification, in a game or other use case, by telling the device to vibrate. It accesses the native vibrator and tells it how long it should vibrate.

First was called the Vibrator API, but that sent out the wrong message 😉

Using the Vibration API →
W3C Vibration API Spec →