Added missing orientation types to README

This commit is contained in:
Grant Benvenuti
2014-07-13 16:50:16 +10:00
parent 82394e15e7
commit d0f38c48fc
3 changed files with 8 additions and 1 deletions
+6
View File
@@ -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');