Open mykmelez opened 11 years ago
css animation of the screen shaking?
yes On 14 May 2013 01:00, "Nick Desaulniers" notifications@github.com wrote:
css animation of the screen shaking?
— Reply to this email directly or view it on GitHubhttps://github.com/mozilla/r2d2b2g/issues/517#issuecomment-17848996 .
I also added the support for vibrate() instead of mozVibrate. Strangely enough vibrate() is already a stub in Firefox now but does nothing. That messes with feature detection.
I also added the support for vibrate() instead of mozVibrate. Strangely enough vibrate() is already a stub in Firefox now but does nothing. That messes with feature detection.
Did you file a bug on this?
The Simulator should simulate the vibration API:
http://dev.w3.org/2009/dap/vibration/ https://developer.mozilla.org/en-US/docs/DOM/window.navigator.vibrate http://robnyman.github.com/vibration/
@codepo8 implemented a polyfill we might be able to reuse:
https://github.com/codepo8/mozVibrate-polyfill