orientation.css
v1.0.1
Published
To detect landscape/portrait orientation and display message
Downloads
2
Readme
orientation.css
A small npm module to detect mobile orientation.
Feature: To show orientation prompts asking user to rotate device to portrait mode.
Installation
npm install orientation.css --save
Usage
Add an element to your html with id as "warning-message"
Release History
- 1.0.1 Initial release