UNPKG

@polygonjs/polygonjs

Version:

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

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