UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

20 lines (19 loc) 461 B
/** * Returns true if the page is on a mobile device, false if not. * * @remarks * It takes 0 arguments. * * `isDeviceMobile()` * * * ## Usage * * - `isDeviceMobile()` - returns true or false depending if the device is a touch device or not. * */ import { BaseMethod } from './_Base'; export declare class isDeviceMobileExpression extends BaseMethod { static requiredArguments(): never[]; processArguments(args: any[]): Promise<boolean>; }