DeviceMotionEventRotationRate

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

DeviceMotionEventRotationRate端末方向イベントのインターフェイスで、端末が回転する 3 つの軸すべての速度に関する情報を提供します。

インスタンスプロパティ

DeviceMotionEventRotationRate.alpha 読取専用

Z 軸上の回転量を秒あたりの角度で表します。

DeviceMotionEventRotationRate.beta 読取専用

X 軸上の回転量を秒あたりの角度で表します。

DeviceMotionEventRotationRate.gamma 読取専用

Y 軸上の回転量を秒あたりの角度で表します。

仕様書

Specification
Device Orientation and Motion
# devicemotioneventrotationrate

ブラウザーの互換性

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
DeviceMotionEventRotationRate
alpha
beta
gamma

Legend

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

Full support
Full support
No support
No support