Skip to main content
Version: 15.3.0

Device interface

Signature:

export interface Device

Properties

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