MenuPopupComponent class

A popup that renders a MenuModel using a MenuItemGroupsComponent.

Mixed-in types
Annotations
  • @Component(selector: 'menu-popup', directives: [AutoFocusDirective, DeferredContentDirective, FocusTrapComponent, MaterialListComponent, MaterialPopupComponent, MenuItemGroupsComponent, MenuRootDirective, NgIf], templateUrl: 'menu_popup.html', styleUrls: ['menu_popup.scss.css'], changeDetection: ChangeDetectionStrategy.onPush)

Constructors

Properties

activateFirstItemOnExpand bool
True if the menu item group should select the first item when the popup is opened.
no setterinherited
activateLastItemOnExpand bool
True if the menu item group should select the first item when the popup is opened.
no setterinherited
element HtmlElement
getter/setter pair
expandAction ExpandAction?
Expansion state of the menu popup.
getter/setter pairinherited
expandActionChange Stream<ExpandAction?>
Outputs an event when the menu expansion state is changed.
no setterinherited
focusable Focusable?
no getterinherited
hashCode int
The hash code for this object.
no setterinherited
isExpanded bool
True if the menu popup is expanded/open.
getter/setter pairinherited
isExpandedChange Stream<bool>
Outputs an event when the menu is expanded.
no setterinherited
The displayed menu.
getter/setter pairinherited
no getter
onFocus Stream<FocusEvent>
Event when the element is focused.
no setterinherited
popupClass String
CSS classes to append onto the menu popup.
getter/setter pair
popupSource PopupSource?
getter/setter pair
preferredPositions Iterable<RelativePosition>
Preferred positions to pass to the material popup component.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
Selects 1 of 5 predefined width values for the menu.
getter/setter pairinherited

Methods

focus() → void
Item/component focuses itself
inherited
handleFocus(FocusEvent event) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited