# Class: Menu

## Menu()

A menu containing MenuItem entries.

Part of the XUI module which, for now, has an undocumented API.

## Constructor

#### new Menu()

Constructor. Do not use; instead use Menu.create.

Source:
  - Menu.js, line 30

### Classes

Menu

### Methods

#### (static) create(itemOptionsList)

Creates and returns a `Menu`.

##### Parameters:

Name | Type | Description
--- | --- | ---
`itemOptionsList` | Array | array containing objects. Each object is a specification for creating a MenuItem.

Source:
  - Menu.js, line 12