Skip to main content
Version: 16.1.0

Device interface

Signature:

export interface Device

Properties

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