ScreenOrientation.angle

Baseline 2023
Newly available

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

ScreenOrientation インターフェイスの読み取り専用プロパティ angle は、文書の現在の向きの角度を返します。

unsigned short の整数です。

仕様書

Specification
Screen Orientation
# dom-screenorientation-angle

ブラウザーの互換性

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
angle

Legend

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

Full support
Full support