DeviceMotionEventAcceleration:z 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
DeviceMotionEventAcceleration 接口的只读属性 z 表示在 DeviceMotionEventAcceleration 对象中沿 Z 轴产生的加速度值。
值
double 类型的值,表示沿 Z 轴的加速度值。更多详细信息,请参见方向与运动数据解释。
规范
| Specification |
|---|
| Device Orientation and Motion> # dom-devicemotioneventacceleration-z> |
浏览器兼容性
Loading…