Documentation

portrait

True if the viewport is taller than it is wide.

portrait: boolean;

Related