portrait
True if the viewport is taller than it is wide.
portrait: boolean;
Related
interface Viewport
Interface definition for an object that contains information about the user’s viewport, i.e. screen or window.
True if the viewport is taller than it is wide.
portrait: boolean;