Constructor
new Browser(userAgent, $container)
#
Parameters:
| Name | Type | Description |
|---|---|---|
userAgent |
string | the user agent of the current browser |
$container |
jQuery.Object | an element to associate with the Browser object |
- Source:
Properties
isIos
#
Returns whether the current browser is an ios device. FIXME: jquery.client does not support iPad detection so we cannot use it.
- Source:
Returns whether the current browser is an ios device.
isWideScreen
#
Determine if a device has a widescreen.
- Source:
Determine if a device has a widescreen.
supportsTouchEvents
#
Whether touchstart and other touch events are supported by the current browser.
- Source:
Whether touchstart and other touch events are supported by the current browser.