Baseline Widely other
Screen orientation
The screen.orientation API gets information about the orientation of the viewport, such as landscape or portrait. With this API, you can adapt an application's layout or behavior in response to changes in orientation.
Baseline Status
Widely Available
Since 2023-03-27
First Core Launch
Chrome 38
2014-10-07
Core-3 Stability
3,093d (8.5y)
Last: Safari (2023-03-27)
BCD Keys Mapped
5
Group: other
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 38 | 2014-10-07 |
| Chrome Android | mobile | 39 | 2014-11-12 |
| Firefox | desktop | 43 | 2015-12-15 |
| Firefox for Android | mobile | 43 | 2015-12-15 |
| Edge | desktop | 79 | 2020-01-15 |
| Safari | desktop | 16.4 | 2023-03-27 |
| Safari on iOS | mobile | 16.4 | 2023-03-27 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.Screen.orientation | DOM API | 3,093d (8.5y) |
| api.ScreenOrientation | DOM API | 3,093d (8.5y) |
| api.ScreenOrientation.angle | DOM API | 3,093d (8.5y) |
| api.ScreenOrientation.change_event | DOM API | 3,093d (8.5y) |
| api.ScreenOrientation.type | DOM API | 3,093d (8.5y) |