We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
(part of PKDEVICE)
Return Type: boolean
If the device is oriented to landscape orientation, returns true. If the device is in portrait orientation, returns false.
true
false
For example:
PKDEVICE.isLandscape(); // returns false
If the URL contains the word "landscape", the actual value will be overridden and return true. Useful for testing in desktop browsers.
0.1 Introduced
0.2 Docs Valid