Skip to main content
Version: 17.1.2

Viewport.isLandscape property

Specifies if the viewport is in landscape mode.

Signature:

interface Viewport {
isLandscape?: boolean;
}