Hi , I need my application ion-badge like add items in a cart. The cart icon shows the count of no.of items add in a cart.
My source code,
<ion-fab-button mat-mini-fab size="small" (click)="showOrderItems()">
<mat-icon matBadge="15" matBadgeColor="warn" >shopping_cart</mat-icon>
</ion-fab-button>
And, also how to show dynamic badge count in ionic