Methods
(static) isChrome() → {boolean}
Check if the current platform is Google Chrome.
- Source:
Returns:
- Type
- boolean
(static) isChromecast() → {boolean}
Check if the current platform is a Google Chromecast.
- Source:
Returns:
- Type
- boolean
(static) isEdge() → {boolean}
Check if the current platform is MS Edge.
- Source:
Returns:
- Type
- boolean
(static) isIE() → {boolean}
Check if the current platform is MS IE.
- Source:
Returns:
- Type
- boolean
(static) isTizen() → {boolean}
Check if the current platform is a Tizen TV.
- Source:
Returns:
- Type
- boolean
(static) isTizen3() → {boolean}
Check if the current platform is a Tizen 3 TV.
- Source:
Returns:
- Type
- boolean
(private, static) userAgentContains_(key) → {boolean}
Check if the user agent contains a key. This is the best way we know of
right now to detect platforms. If there is a better way, please send a
PR.
Parameters:
Name | Type | Description |
---|---|---|
key |
string |
- Source:
Returns:
- Type
- boolean