Class DeviceInformation

Hierarchy

  • DeviceInformation

Constructors

Properties

_browser?: Browser
_deviceType: DeviceType

Represents an abstracted device type: desktop, tablet or mobile.

_dimensions: ScreenDimensions

Represents the viewport (layout and visual) and (full)screen dimensions. WebKit browsers prior to 15 will only support layout dimensions.

_orientation: ScreenOrientation

Represents the current viewport orientation. If the viewport is square, it will default to portrait.

_userInput: UserInput

Represents the current input source. Note: On a touchscreen device which has a mouse plugged in, it will return the mouse.

orientationIsLandscapeQuery: MediaQueryList

Accessors

Methods

Generated using TypeDoc