DeviceMotionEventRotationRate

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

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

インスタンスプロパティ

DeviceMotionEventRotationRate.alpha 読取専用

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

DeviceMotionEventRotationRate.beta 読取専用

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

DeviceMotionEventRotationRate.gamma 読取専用

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

仕様書

Specification
DeviceOrientation Event Specification
# devicemotioneventrotationrate

ブラウザーの互換性

BCD tables only load in the browser