반응형
jQuery.vibrate.js: Trigger mobile device vibrations
jQuery.vibrate.js lets you trigger vibrations on mobile devices in the pattern and duration you choose. It’s very simple to use, with a number of options for when to trigger vibrations and how long those vibrations should last (there’s even a handy chart so you can check out the durations for yourself).
Homepage: http://illyism.github.io/jquery.vibrate.js/
GitHub: http://github.com/illyism/jquery.vibrate.js
GitHub: http://github.com/illyism/jquery.vibrate.js
Vibration API Wrappers
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.
- You need the hardware for it.
- The page needs to be visible.
- Browser-specific implementation prevents the vibration.
반응형
'프로그래밍 > Script' 카테고리의 다른 글
[jQuery] Circliful: Circular loaders with jQuery (0) | 2014.08.11 |
---|---|
[jQuery] jQuery 에서 해당 요소(element)의 존재여부를 확인할 때 (0) | 2014.08.01 |
[jQuery] Touche.js: Re-map click events to touch events (0) | 2014.07.16 |
[jQuery] jQuery Cheat Sheet: A quick API reference (0) | 2014.07.07 |
[javascript] Passwordless: Authentication middleware for Express & Node.js (0) | 2014.07.07 |