menu/src/menu-bar/menu-bar.component.ts
MenuBar is a container for a group of related Menus.
It handles closing other menus when a menu is opened and thus helps preventing a stack of open menus.
Example :<talenra-menu-bar>
<span talenraMenuAnchor [triggerFor]="mymenu">My Menu</span>
<span talenraMenuAnchor [triggerFor]="yourmenu">Your Menu</span>
</talenra-menu-bar>import { MenuBarComponent } from '@talenra/components/menu';See MenuComponent See MenuAnchorDirective
| changeDetection | ChangeDetectionStrategy.OnPush |
| HostDirectives |
CdkMenuBar
|
| host | { |
| selector | talenra-menu-bar |
| templateUrl | ./menu-bar.component.html |
| styleUrl | ./menu-bar.component.scss |