For the complete documentation index, see llms.txt. This page is also available as Markdown.

Screen Orientation API

Overview

Screen Orientation API allows web apps to get information about the current orientation of the screen.

Demo

https://nectar.website/demo/web-apis/screen-orientation/

Usage

You can refer to the code present in /partials/web-apis/screen-orientation.html file and use it accordingly.

Reference

https://developer.mozilla.org/en-US/docs/Web/API/Screen_Orientation_API

Last updated