Last updated 2 years ago
Screen Orientation API allows web apps to get information about the current orientation of the screen.
You can refer to the code present in /partials/web-apis/screen-orientation.html file and use it accordingly.
/partials/web-apis/screen-orientation.html