You are here

W3C Screen Orientation API - How To

The W3C screen orientation API integrates the changing reading state of a device as landscape or portrait. Users can be informed when the screen orientation changes and can lock the orientation to a specific position. Examples and references available as resources in this standard API that provides a browser architecture.