Skip to content
Enact

webos/platform

Utilities for webOS platform detection.

Provides identification of webOS variants.

Required Property • webos
Boolean

true for webOS


Optional • tv
Boolean

true for LG webOS SmartTV


Optional • open
Boolean

true for Open webOS


Optional • unknown
Boolean

true for any unknown system


Optional • version
Number

The version of the platform if detected


Optional • chrome
Number

The version of Chrome if detected

detect(  ) → Object

Returns the webos/platformwebos/platform.platform object.

0 Params
Returns
 Object

The webos/platformwebos/platform.platform object