material icon indicating copy to clipboard operation
material copied to clipboard

Feature request - <md-badge-primary> for notification badges.

Open Chidan opened this issue 11 years ago • 41 comments

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 image 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

Chidan avatar Aug 19 '15 14:08 Chidan

+1

ghost avatar Aug 19 '15 16:08 ghost

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.

topherfangio avatar Aug 19 '15 16:08 topherfangio

Here's a quick mock up I threw together that I am using in my app

http://codepen.io/anon/pen/QbXwYq

NickBolles avatar Aug 19 '15 16:08 NickBolles

@topherfangio , yes for the theme, but agree we could use class instead

Chidan avatar Aug 20 '15 09:08 Chidan

@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 avatar Aug 20 '15 10:08 Chidan

@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 avatar Aug 20 '15 13:08 topherfangio

@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.

Chidan avatar Aug 20 '15 19:08 Chidan

:+1:

jordanskole avatar Oct 26 '15 17:10 jordanskole

:+1:

wagnerjs avatar Oct 28 '15 18:10 wagnerjs

:+1:

leonn avatar Oct 28 '15 18:10 leonn

:+1:

thebergamo avatar Nov 01 '15 18:11 thebergamo

:+1:

HarryBurns avatar Nov 02 '15 00:11 HarryBurns

+1

csvan avatar Nov 07 '15 21:11 csvan

+1

omeid avatar Nov 18 '15 06:11 omeid

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

johnjenkins avatar Nov 19 '15 23:11 johnjenkins

+1

ngasst avatar Nov 20 '15 08:11 ngasst

+1

spirospolitis avatar Nov 20 '15 22:11 spirospolitis

+1

ghost avatar Dec 04 '15 12:12 ghost

+1

antoinebrault avatar Dec 09 '15 19:12 antoinebrault

:+1:

akagroundhog avatar Dec 18 '15 16:12 akagroundhog