Skip to main content
Version: Next

Device interface

Signature:

export interface Device

Properties

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