# JavaScript MenuItem object

The `MenuItem` object is supported since WRT 1.0.

The `MenuItem` object is a built-in JavaScript 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:

- Constructor

- `append()`

- `remove()`

- `setDimmed()`

`MenuItem` object property:

- `onSelect`

For more general information on constructing an options menu, see Using softkeys.