device.getScreenOrientation
getScreenOrientation() → {string}
Return a string representing the orientation of the device screen. It can be "any", "natural", "landscape", "portrait", "portrait-primary", "portrait-secondary", "landscape-primary", "landscape-secondary"
Type | Description |
---|
Type | Description |
---|---|
string |
the screen orientation |