DeviceMotionEventAcceleration: y 屬性
y 是 DeviceMotionEventAcceleration 介面的一個只讀屬性,它表示在一個 DeviceMotionEventAcceleration 物件中沿 Y 軸發生的加速度大小。
值
一個 double 型別的值,表示沿 Y 軸的加速度大小。有關詳細資訊,請參閱加速度計值說明。
規範
| 規範 |
|---|
| 裝置方向和運動 # dom-devicemotioneventacceleration-y |
瀏覽器相容性
載入中…