Skip to content

w3c/screen-orientation

Repository files navigation

This repo holds some of the sources for the Screen Orientation API, 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.