How to manage the vibration on a device?

■ Summary
-The following code snippet demonstrates how to use the vibration.

■ Reference Site
- http://www.w3.org/TR/2012/WD-vibration-20120202/