static async onDefine() {
      Menu_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
    }
@class

<h3 class="comment-api-title">Overview</h3>

<code>ui5-menu</code> component represents a hierarchical menu structure.

<h3>Usage</h3>

<code>ui5-menu</code> contains <code>ui5-menu-item</code> components.
An arbitrary hierarchy structure can be represented by recursively nesting menu items.

<h3>Keyboard Handling</h3>

The <code>ui5-menu</code> provides advanced keyboard handling.
The user can use the following keyboard shortcuts in order to navigate trough the tree:
<ul>
<li><code>Arrow Up</code> / <code>Arrow Down</code> - Navigates up and down the menu items that are currently visible.</li>
<li><code>Arrow Right</code>, <code>Space</code> or <code>Enter</code> - Opens a sub-menu if there are menu items nested
in the currently clicked menu item.</li>
<li><code>Arrow Left</code> or <code>Escape</code> - Closes the currently opened sub-menu.</li>
</ul>
Note: if the text ditrection is set to Right-to-left (RTL), <code>Arrow Right</code> and <code>Arrow Left</code> functionality is swapped.
<br>

<h3>ES6 Module Import</h3>

<code>import "@ui5/webcomponents/dist/Menu.js";</code>

@constructor
@author SAP SE
@alias sap.ui.webc.main.Menu
@extends sap.ui.webc.base.UI5Element
@tagname ui5-menu
@appenddocs sap.ui.webc.main.MenuItem
@since 1.3.0
@public