DeviceAcceleration
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
* Some parts of this feature may have varying levels of support.
属性
DeviceAcceleration.x
只读-
沿 X 轴的加速度量(只读)
DeviceAcceleration.y
只读-
沿 Y 轴的加速度量(只读)
DeviceAcceleration.z
只读-
沿 Z 轴的加速度量(只读)
说明
Specification |
---|
Device Orientation and Motion # devicemotioneventacceleration |