DeviceOrientationEvent: alpha プロパティ

Baseline 2023
Newly available

Since September 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

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

alphaDeviceOrientationEvent インターフェイスの読み取り専用プロパティで、 Z 軸をの端末の回転を返します。つまり、端末が画面の中央を中心に何度回転したかを返します。 詳しくは方向および動きとして示されるデータを参照してください。

数値です。

仕様書

Specification
Device Orientation and Motion
# ref-for-dom-deviceorientationevent-alpha③

ブラウザーの互換性

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
alpha

Legend

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

Full support
Full support

関連情報