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