Skip to main content
Version: 17.1.3

Viewport.isLandscape property

Specifies if the viewport is in landscape mode.

Signature:

interface Viewport {
isLandscape?: boolean;
}