Feature request - <md-badge-primary> for notification badges.
HI,
I couldnt find any issues or any alternatives currently for having notification badges over button or tab items or over labels.
The syntax could be like
included inside a button, just like an icon.
I found following link really useful, but couldnt incorporate this over button or tabs.
http://www.cssportal.com/blog/create-css-notification-badge/
Could you please look into this. Many thanks.
Regards,
Chidan
+1
Just curious, what is the -primary for? If it is the theme, I would say that might be better handled with a class="md-primary" like most of our other components.
Here's a quick mock up I threw together that I am using in my app
http://codepen.io/anon/pen/QbXwYq
@topherfangio , yes for the theme, but agree we could use class instead
@NickBolles nice one, works for button, tried with tabs, doesnt work, link - http://codepen.io/anon/pen/oXrBxe Havent tried with other directives though.
@Chidan Can you list out all of the components you're hoping this will work with? I'm honestly not sure if/when we can get to this, but if we can get to it (or maybe a community member can contribute it), it will be nice to set some expectations.
@topherfangio I was hoping to get this working at least for following components Button, Fab, List Items, Tab Items, menu items. In general it would be great if this like Icon directive which can be embeded into any directive. Many thanks for your consideration. I wish I could contribute but unfortunately I am novice still taking baby steps with javascript.
:+1:
:+1:
:+1:
:+1:
:+1:
+1
+1
Hey - regarding the mockup working in tabs, just put everything as content (instead of using the label attr): http://codepen.io/john_jenkins/pen/xwBvqg?editors=101
+1
+1
+1
+1
:+1: