DeviceMotionEvent.DeviceMotionEvent()
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
非标准: 该特性是非标准的,请尽量不要在生产环境中使用它!
The DeviceMotionEvent
constructor 会创建一个新的 DeviceMotionEvent
.
语法
js
new DeviceMotionEvent(type)
new DeviceMotionEvent(type, options)
参数
说明
无特别说明。