diff --git a/src/app/components/megamenu/megamenu.ts b/src/app/components/megamenu/megamenu.ts index df3283c73f3..1c558f7d595 100755 --- a/src/app/components/megamenu/megamenu.ts +++ b/src/app/components/megamenu/megamenu.ts @@ -92,6 +92,8 @@ import { TooltipModule } from 'primeng/tooltip'; [attr.id]="item.id" [attr.tabindex]="item.tabindex ? item.tabindex : '0'" [ngClass]="{ 'p-disabled': item.disabled }" + [ngStyle]="item.style" + [class]="item.styleClass" (click)="itemClick($event, item)" pRipple > @@ -113,6 +115,8 @@ import { TooltipModule } from 'primeng/tooltip'; [attr.title]="item.title" [attr.id]="item.id" [ngClass]="{ 'p-disabled': item.disabled }" + [ngStyle]="item.style" + [class]="item.styleClass" (click)="itemClick($event, item)" [fragment]="item.fragment" [queryParamsHandling]="item.queryParamsHandling"