/** * @license * Copyright 2022 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Menu } from '@material/web/menu/internal/menu.js'; export { ListItem } from '@material/web/list/internal/list-navigation-helpers.js'; export { MenuItem } from '@material/web/menu/internal/controllers/menuItemController.js'; export { CloseMenuEvent, FocusState, Menu, } from '@material/web/menu/internal/controllers/shared.js'; export { Corner } from '@material/web/menu/internal/menu.js'; /** * @summary Menus display a list of choices on a temporary surface. * * @description * Menus appear when users interact with a button, action, or other control. * * They can be opened from a variety of elements, most commonly icon buttons, * buttons, and text fields. * * ix-menu listens for the `close-menu` and `deselect-items` events. * * - `close-menu` closes the menu when dispatched from a child element. * - `deselect-items` deselects all of its immediate menu-item children. * * @example * ```html *