https://github.com/w3c/screen-orientation
The screen orientation lock specification
https://github.com/w3c/screen-orientation
screen standard w3c webplatform
Last synced: 8 months ago
JSON representation
The screen orientation lock specification
- Host: GitHub
- URL: https://github.com/w3c/screen-orientation
- Owner: w3c
- License: other
- Created: 2014-04-11T18:31:03.000Z (about 12 years ago)
- Default Branch: gh-pages
- Last Pushed: 2024-09-27T22:54:54.000Z (over 1 year ago)
- Last Synced: 2025-01-30T09:41:37.444Z (over 1 year ago)
- Topics: screen, standard, w3c, webplatform
- Language: HTML
- Homepage: https://w3c.github.io/screen-orientation/
- Size: 592 KB
- Stars: 27
- Watchers: 64
- Forks: 29
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
This repo holds some of the sources for the [Screen Orientation API](https://w3c.github.io/screen-orientation/), an interface for Web applications to be able to:
* Read the screen-orientation state of a device (portrait or landscape).
* Be informed when the screen-orientation state changes.
* Lock the screen orientation to a specific state.
The latest editor’s draft is at https://w3c.github.io/screen-orientation/
Try it out in the [demo page](https://w3c.github.io/screen-orientation/demo/index.html).