Hi,
I am trying to dynamically update the badge value after the initial render, is there a simple way of doing this that I am missing?
For example
badgeValue: number = 10;
...
items: [
{ label: 'All Incoming', icon: 'im-icon im-icon-phone-incoming', badge:badgeValue:number , routerLink: ['/calls/all'] },
...
10 will be correctly displayed as badge number.
However, updating badgeValue = 12 will not reset the badge value displaying the rendered menu. What am I missing?
Many thanks.
Updating badge value of rendered menuitem
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests