From 9b895302076b4f18175b5cd67c6d8e30de4b7dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Tue, 26 Dec 2023 11:26:38 +0300 Subject: [PATCH] Fixed #14430 --- src/app/components/menubar/menubar.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/components/menubar/menubar.ts b/src/app/components/menubar/menubar.ts index 3fdf02b8a8a..cca4b72f943 100755 --- a/src/app/components/menubar/menubar.ts +++ b/src/app/components/menubar/menubar.ts @@ -130,11 +130,11 @@ export class MenubarService { {{ getItemProp(processedItem, 'badge') }} - + - + | undefined; + @Output() itemClick: EventEmitter = new EventEmitter(); @Output() itemMouseEnter: EventEmitter = new EventEmitter(); @@ -380,6 +382,7 @@ export class MenubarSub implements OnInit, OnDestroy { [ariaLabel]="ariaLabel" [ariaLabelledBy]="ariaLabelledBy" [focusedItemId]="focused ? focusedItemId : undefined" + [submenuIconTemplate]="submenuIconTemplate" [activeItemPath]="activeItemPath()" (itemClick)="onItemClick($event)" (menuFocus)="onMenuFocus($event)"