Skip to main content
Version: 18.0.5

Device interface

Signature:

export interface Device

Properties

PropertyModifiersTypeDescription
namestring
userAgentstring
viewport{ width: number; height: number; deviceScaleFactor: number; isMobile: boolean; hasTouch: boolean; isLandscape: boolean; }