This class is responsible for evaluating the current state (mobile/landscape, current size, etc) Making sure to evaluate the main element, NOT the entire viewport, as we may only take part of the viewport

Hierarchy

  • Responsiveness

Constructors

Properties

callback: ((data: ResponsivenessData) => void)

Type declaration

disableOnFocusTimeout: Timeout
disabled: boolean = false
minWidthForDesktop: number = 1024
minWidthForMobileLandscape: number = 500

At a certain width, we have to be portrait. This is generally only applicable on devices when a keyboard opens and it shrinks the height so much that it thinks its landscape

resizeObserver: ResizeObserver
resizeTimeout: Timeout
rootElement: HTMLElement

Methods

Generated using TypeDoc