menu property
MenuModel
get
menu
Implementation
MenuModel get menu => _menu;
- @Input()
The menu to display.
IMPORTANT: The menu model must be immutable. This component won't reflect any changes to the model's internal state
Implementation
@Input()
set menu(MenuModel menu) {
_menu = menu;
_updateItemsAriaCheckedState(menu);
menu.itemGroups.forEach(_listenForSelectionChanges);
}