The widget object is supported since WRT 1.0.
The widget object is a built-in JavaScript object in the widget engine. It is extended from the window object to provide widget-specific APIs that perform fundamental operations.
The widget object can be accessed via the window object window.widget or simply widget. Thus, in the WRT environment, the term widget is a reserved keyword and should not be used as a user-defined global variable name representing other objects or data types.
widget object methods:
widget object properties: