Pergunta

According to a post on Peter Beverloo's blog, "The webkit prefix has been dropped from the Vibration API implementation as it reached Candidate Recommendation."

In Firefox, the Vibration API can be found at navigator.vibrate (per the spec), not so in Chrome 23 - with or without the webkit prefix. I've tried enabling experimental javascript in chrome://flags but to no effect.

Despite playing around in devtools and plenty of searching on the net, I'm still unable to locate this API. Where is it hiding?

Foi útil?

Solução

The blog was just indicating that the API has been unprefixed in WebKit. We don't have it in Chrome for Desktop and we don't have it in Chrome for Android as of version 25

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top