JavaScript MenuItem object

The MenuItem object is supported since WRT version 1.0.

MenuItem is a built-in object in the widget engine. The MenuItem object is a reference type that provides APIs for manipulating a widget's menu items. The MenuItem object is designed to be used together with the MenuItem object to create and manipulate the widget's main menu and cascading submenus.

The MenuItem object is created by using the new operator.

MenuItem object methods:

MenuItem object property: