ios 震动api
Many of the new APIs provided to us by browser vendors are more targeted toward the mobile user than the desktop user. One of those simple APIs the Vibration API. The Vibration API allows developers to direct the device, using JavaScript, to vibrate in a pattern for a given duration.
浏览器供应商提供给我们的许多新API都比台式机用户更面向移动用户。 这些简单的API之一就是Vibration API 。 振动API允许开发人员使用JavaScript引导设备在给定的时间内以某种模式振动。
检测振动API支持 (Detecting Vibration API Support)
It's