Skip to main content
Version: 18.0.0

Device interface

Signature:

export interface Device

Properties

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