jQuery Vibrate.js : Vibration API Wrappers


The Vibration API is an API specifically made for mobile devices as they are thankfully the only devices that have a vibrate function.

However, this doesn’t mean that your device can vibrate. Just that it’s recent enough. There are a few requirements you need to meet.

  1. You need the hardware for it.
  2. The page needs to be visible.
  3. Browser-specific implementation prevents the vibration.

Leave a Reply

Your email address will not be published. Required fields are marked *