Class: Browser

Browser(ua, $container)

new Browser(ua, $container)

Representation of user's current browser

Parameters:
Name Type Description
ua string

the user agent of the current browser

$container jQuery.Object

an element to associate with the Browser object

Source:

Members

isIos

Returns whether the current browser is an ios device. FIXME: jquery.client does not support iPad detection so we cannot use it.

Source:

isWideScreen

Determine if a device has a widescreen.

Source:

supportsTouchEvents

Whether touchstart and other touch events are supported by the current browser.

Source:

Methods

(static) getSingleton() → {Browser}

Source:
Returns:
Type
Browser