Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Viewport

Index

Properties

Optional deviceScaleFactor

deviceScaleFactor: number

Specify device scale factor (can be thought of as dpr).

default

1

Optional hasTouch

hasTouch: boolean

Specifies if viewport supports touch events.

default

false

height

height: number

The page height in pixels.

Optional isLandscape

isLandscape: boolean

Specifies if viewport is in landscape mode.

default

false

Optional isMobile

isMobile: boolean

Whether the meta viewport tag is taken into account.

default

false

width

width: number

The page width in pixels.

Generated using TypeDoc