diff --git a/README.md b/README.md index c49334c..3f423d4 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,12 @@ The orientation is in the primary landscape mode. __landscape-secondary__ The orientation is in the secondary landscape mode. +__portrait__ +The orientation is either portrait-primary or portrait-secondary (sensor). + +__landscape__ +The orientation is either landscape-primary or landscape-secondary (sensor). + ##Usage screen.lockOrientation('landscape'); diff --git a/plugin.xml b/plugin.xml index 47d4c04..0b8ec68 100644 --- a/plugin.xml +++ b/plugin.xml @@ -2,7 +2,7 @@ + version="1.0.1"> YoikScreenOrientation Yoik Screen Orientation Plugin diff --git a/www/screenorientation.js b/www/screenorientation.js index a53af30..98cc1f5 100644 --- a/www/screenorientation.js +++ b/www/screenorientation.js @@ -35,6 +35,7 @@ var argscheck = require('cordova/argscheck'), 'portrait', // The orientation is either portrait-primary or portrait-secondary. 'landscape' + // The orientation is either landscape-primary or landscape-secondary. ], currOrientation = 'unlocked';