DeviceOrientationEvent: absolute プロパティ

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

absoluteDeviceOrientationEvent インターフェイスの読み取り専用プロパティで、端末が絶対的に(つまり、地球の座標フレームを参照して)方向データを提供しているのか、それとも端末が決定した任意のフレームを使用しているのかを示します。 詳しくは方向および動きとして示されるデータを参照してください。

  • instanceOfDeviceOrientationEvent の方向データが、地球の座標フレームと端末の座標フレームの差として指定された場合に true を返します。
  • 方向データが、任意の、端末が決定した座標フレームを参照して提供されている場合は false を返します。

仕様書

Specification
Device Orientation and Motion
# ref-for-dom-deviceorientationevent-absolute

ブラウザーの互換性

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
absolute

Legend

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

Full support
Full support
No support
No support

関連情報