DeviceMotionEventAcceleration

安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。

DeviceMotionEventAcceleration オブジェクトは、端末が 3 軸すべてで経験している加速度の量に関する情報を提供します。

インスタンスプロパティ

DeviceMotionEventAcceleration.x 読取専用

X 軸に沿った加速度の大きさです。

DeviceMotionEventAcceleration.y 読取専用

Y 軸に沿った加速度の大きさです。

DeviceMotionEventAcceleration.z 読取専用

Z 軸に沿った加速度の大きさです。

仕様書

Specification
Device Orientation and Motion
# devicemotioneventacceleration

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
DeviceMotionEventAcceleration
x
y
z

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support