DeviceMotionEventAcceleration:y 属性
>DeviceMotionEventAcceleration 接口的只读属性 y 表示 DeviceMotionEventAcceleration 对象中沿 Y 轴产生的加速度值。
值
double 类型的值,表示沿 Y 轴的加速度。更多详细信息,请参见方向与运动数据解释。
规范
| 规范 |
|---|
| Device Orientation and Motion> # dom-devicemotioneventacceleration-y> |