ScreenOrientation.type
ScreenOrientation
の読み取り専用プロパティ type
は、文書の現在の向きのタイプを返します。"portrait-primary"
、"portrait-secondary"
、"landscape-primary"
、"landscape-secondary"
のいずれかです。
値
String
です。
仕様書
Specification |
---|
Screen Orientation # dom-screenorientation-type |
ブラウザーの互換性
BCD tables only load in the browser