You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the menu does allow you to add a badge to an icon, but it breaks the formatting of the collapsed and expanded view of the menu. It would be nice to be able to show badges in the side menu of an application. An example of the problem :
What problem does this feature solve?
Currently the menu does allow you to add a badge to an icon, but it breaks the formatting of the collapsed and expanded view of the menu. It would be nice to be able to show badges in the side menu of an application. An example of the problem :
https://stackblitz.com/edit/badge-in-menu-demo
Screenshots
collapsed view
expanded view
What does the proposed API look like?
Being able to wrap the anticon object in the
<nz-badge [nzCount]="5">
tag like so:The text was updated successfully, but these errors were encountered: