MdMenu
Menus display a list of choices on a temporary surface.
See https://material-web.dev/components/menu/
Author
Maanrifa Bacar Ali
Constructors
Properties
The corner of the anchor which to align the menu in the standard logical property style of 'end-start'
.
The element that should be focused by default once opened.
Displays overflow content like a submenu. Not required in most cases when positioning is MenuPositioning.Popover.
Gets the direct items in this list.
The corner of the menu which to align the anchor in the standard logical property style of 'start-start'
.
Turns off navigation wrapping. By default, navigating past the end of the menu items will wrap focus back to the beginning and vice versa. Use this for ARIA patterns that do not wrap focus, like combobox.
Whether the positioning algorithim should calculate relative to the parent of the anchor element (absolute) or relative to the window (fixed).
After closing, does not restore focus to the last focused element before the menu was opened.
Keeps the menu open when focus leaves the menu's composed subtree.
Keeps the user clicks outside the menu.
The max time between the keystrokes of the typeahead menu behavior before it clears the typeahead buffer.
Functions
Activates the next item in the list. If at the end of the list, the first item will be activated.
Activates the previous item in the list. If at the start of the list, the last item will be activated.
Factory for obtaining an instance of MenuAnchor. The returned component is added to this Container.