SamProf / MatBlazor

Material Design components for Blazor and Razor Components
http://www.matblazor.com
MIT License
2.84k stars 386 forks source link

Support for badge (i.e. a number) on the MatIconButton #73

Open BenjaminCharlton opened 5 years ago

BenjaminCharlton commented 5 years ago

Would it be possible to have support for a badge on the icon button? Like the one described here:

https://material.angular.io/components/badge/overview

A typical use would be to display the number of unread notifications next to a bell icon to show the user how many notifications he has (seen on Facebook and LinkedIn etc.)

Hope you like the idea.

SamProf commented 5 years ago

Thank you. Good idea. Now directives not supported in Blazor, but will be in next release. So, MatTooltip and Directive style Bange I can implement after this issue: https://github.com/aspnet/AspNetCore/issues/6364

lindespang commented 4 years ago

Hello @SamProf, this is supported in Blazor now and I think it would be a nice feature to implement.

SamProf commented 4 years ago

@lindespang Yeah, sure. This can be implemented