Caplin Trader 5.1.0

Class: module:ct-dom/Browser

module:ct-dom/Browser()

Provides static, utility methods to determine whether the client browser is Internet Explorer, and to determine the Internet Explorer version.

Constructor

new module:ct-dom/Browser()

Methods

(static) getIEVersion() → {Number|undefined}

Gets the IE version

Returns:

The version (if the browser is IE), otherwise undefined

Type
Number | undefined

(static) isIE() → {boolean}

Determine whether the browser is Internet Explorer.

Returns:

true if Internet Explorer, otherwise false.

Type
boolean