browser

browser.js

Members

static, constant ANDROID_VERSION :number|string|null

The detected Android version - or null.

static, constant CHROME_VERSION :number|null

The detected Google Chrome version - or null.

static, constant IE_VERSION :number|null

The detected Internet Explorer version - or null.

static, constant IOS_VERSION :string|null

The detected iOS version - or null.

static, constant IS_ANDROID :Boolean

Whether or not this is an Android device.

static, constant IS_ANY_SAFARI :Boolean

Whether or not this is any flavor of Safari - including iOS.

static, constant IS_CHROME :Boolean

Whether or not this is Google Chrome.

This will also be true for Chrome on iOS, which will have different support as it is actually Safari under the hood.

static, constant IS_EDGE :Boolean

Whether or not this is Microsoft Edge.

static, constant IS_FIREFOX :Boolean

Whether or not this is Mozilla Firefox.

static, constant IS_IOS :Boolean

Whether or not this is an iOS device.

static, constant IS_IPAD :Boolean

Whether or not this device is an iPad.

static, constant IS_IPHONE :Boolean

Whether or not this device is an iPhone.

static, constant IS_IPOD :Boolean

Whether or not this device is an iPod.

static, constant IS_NATIVE_ANDROID :Boolean

Whether or not this is a native Android browser.

static, constant IS_SAFARI :Boolean

Whether or not this is desktop Safari.

static, constant TOUCH_ENABLED :Boolean

Whether or not this device is touch-enabled.