AngularJS-Toaster icon indicating copy to clipboard operation
AngularJS-Toaster copied to clipboard

Using Font Icon instead of base64 embedded icon

Open maxisam opened this issue 10 years ago • 5 comments

Hi ,

I think some developer like me would like to use font icon instead of base64 embedded icon. I wonder if you want to go that way.

To achieve that, we just need to change a few lines of code.

Here is the code Here is how it look in demo

BTW, I used fontawesome in the example.

Sam

maxisam avatar Nov 06 '14 20:11 maxisam

+1, this would be really useful.

kyrstenkelly avatar May 29 '15 15:05 kyrstenkelly

Noticed the same thing this morning.

cvaught001 avatar Jul 23 '15 15:07 cvaught001

+1 But make sure to enable users to choose the icon class from the container & toaster.

edenpessach avatar Jan 28 '16 13:01 edenpessach

@Stabzs Is this option going to be in a next release? Love your work btw!

xtreemrage avatar Jun 25 '16 20:06 xtreemrage

@xtreemrage I'll try to make sure this gets included in the next release. It will most likely end up being a breaking change however since the toast DOM structure will need to change. And much appreciated :)

Stabzs avatar Jul 03 '16 13:07 Stabzs