/** * @license * Copyright 2022 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { MdFocusRing } from '../focus/focus-ring.js'; import { MdList } from '../list/list.js'; import { MdElevation } from '../elevation/elevation.js'; export { ListItem } from '@material/web/list/lib/listitem/list-item.js'; export { Corner, DefaultFocusState } from '@material/web/menu/lib/menu.js'; export { CloseMenuEvent, DeactivateItemsEvent, MenuItem, } from '@material/web/menu/lib/shared.js'; declare global { interface HTMLElementTagNameMap { 'md-menu': MdMenu; } } declare const MdMenu_base: import("@open-wc/dedupe-mixin").Constructor & import("@open-wc/dedupe-mixin").Constructor; /** * @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. * * md-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 *
* * * el.anchor = * anchorRef.value}> * * * * * * *
* ``` * * @final * @suppress {visibility} */ export declare class MdMenu extends MdMenu_base { static styles: import("lit").CSSResult[]; static get scopedElements(): { 'md-elevation': typeof MdElevation; 'md-list': typeof MdList; 'md-focus-ring': typeof MdFocusRing; }; }