Screen Orientation Lock API Demo

This demo shows how to use the Screen Orientation Lock API to lock the screen orientation to portrait or landscape.

Current screen orientation: "landscape-primary" ().

Legacy window.orientation value: angle is not available.

10:34:26 PM - 832.
Using screen.orientation to handle events.