Angular Materials

Hi , im creating notifications with angular materials 9.2.9
that’s my custom mat icon from svg
<mat-icon [matBadge]=“aa” matBadgeColor=“warn” class=“icon-medium event-notification” svgIcon=“event-notification-icon” (click)=“redirectToEvents()” >
with added simple aa badge with number and it’s showing like this:)
mat icons works but mat bbadge or mat tooltips are not working at all , what could be wrong ?
added modules in app.module.ts
added import url in style.scss
added angular/materials in package.json

Depends on documentation Angular Material UI component library

use matBadge="aa" without []

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.