Determines whether the current device or browser window is in landscape orientation.
true
false
if (isLandscape()) { // Codes for landscape orientation} Copy
if (isLandscape()) { // Codes for landscape orientation}
Determines whether the current device or browser window is in landscape orientation.