A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/type below:

ScreenOrientation: type property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. ScreenOrientation
  4. type

Filter sidebar

In this article
  1. ScreenOrientation
  2. Instance properties
    1. angle
    2. type
  3. Instance methods
    1. lock()
    2. unlock()
  4. Events
    1. change
  5. Inheritance
    1. EventTarget
In this article ScreenOrientation: type property

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.

The type read-only property of the ScreenOrientation interface returns the document's current orientation type, one of portrait-primary, portrait-secondary, landscape-primary, or landscape-secondary.

Value

A String.

Specifications Specification Screen Orientation
# dom-screenorientation-type
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Nov 9, 2023 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4