Skip to main content

Variable: env

const env: object;

Type declaration

getBrowser()

getBrowser: () => object;

Returns

object

firefox
firefox: boolean;
ie
ie: boolean;
safari
safari: boolean;

getDevice()

getDevice: () => object;

Returns

object

android
android: boolean;
ios
ios: boolean;

getMouseCoords()

getMouseCoords: (e) => object;

Parameters

ParameterType
eany

Returns

object

x
x: number;
y
y: number;

getUserAgent()

getUserAgent: () => string;

Returns

string

isMac()

isMac: () => boolean;

Returns

boolean

isPhone()

isPhone: () => boolean;

Returns

boolean