• Overview
@angular/aria/menu

MenuBar

directive

A menu bar of menu items.

API

    
      class MenuBar<V> {}
    
    

element

HTMLElement

A reference to the menubar element.

textDirection

any

A signal wrapper for directionality.

value

any

The value of the menu.

wrap

any

Whether the menu should wrap its items.

typeaheadDelay

any

The delay in seconds before the typeahead buffer is cleared.

items

any

The menu items as a writable signal.

onSubmit

any

A callback function triggered when a menu item is selected.

Description

A menu bar of menu items.

Like the menu, a menubar is used to offer a list of menu item choices to users. However, a menubar is used to display a persistent, top-level, always-visible set of menu item choices.

Jump to details