Documentation

Detector

isWebkit

Returns: Boolean

Check if the browser is Webkit (Safari, Chrome).

var isWebkit = this.detector.isWebkit();

isFirefox

Returns: Boolean

Check if the browser is Firefox.

var isFirefox = this.detector.isFirefox();

isIe

Returns: Boolean

Check if the browser is Internet Explorer.

var isIe = this.detector.isIe();

isMobile

Returns: Boolean

Check if the user device is mobile (iPhone or Android).

var isMobile = this.detector.isMobile();

isDesktop

Returns: Boolean

Check if the user device is desktop (not mobile).

var isDesktop = this.detector.isDesktop();

isIpad

Returns: Boolean

Check if the user device is iPad.

var isIpad = this.detector.isIpad();