Skip to main content
Version: 18.0.5

Viewport.isLandscape property

Specifies if the viewport is in landscape mode.

Signature:

interface Viewport {
isLandscape?: boolean;
}