ionStrategy.OnPush,
  imports: [MenuItemComponent, CommonModule, RouterModule],
  templateUrl: &#x27;./menu-bar.component.html&#x27;,
  styleUrl: &#x27;./menu-bar.component.scss&#x27;
})
export class MenuBarComponent extends UIBaseComponent {
  @ContentChildren(MenuItemComponent) menuItems: QueryList&lt;MenuItemComponent&gt;;

  setActive(item: MenuItemComponent) {
    this.menuItems.toArray().forEach(i &#x3D;&gt; {
      if(i &#x3D;&#x3D;&#x3D; item) {
        i.active.set(true);
      } else {
        i.a