Movatterモバイル変換


[0]ホーム

URL:


MDN Web Docs

Window: orientation property

Returns the orientation in degrees (in 90-degree increments) of the viewport relative to the device's natural orientation.

Its only possible values are-90,0,90, and180. Positive values are counterclockwise; negative values are clockwise.

This property is deprecated. Use theScreen.orientation property instead, available on thewindow.screen property.

Specifications

Specification
Compatibility
# dfn-window-orientation-angle

Browser compatibility

Help improve MDN

Learn how to contribute.

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp