Where is the Vibration API hiding in Chrome 23?

2019-06-17 02:56发布

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?

1条回答
你好瞎i
2楼-- · 2019-06-17 03:12

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

查看更多
登录 后发表回答