angular2-notifications icon indicating copy to clipboard operation
angular2-notifications copied to clipboard

Fix clickIconToClose

Open matthieu-hm opened this issue 6 years ago • 3 comments

This pull request add the missing EventEmitter clickIcon & make works clickIconToClosefor all notification type (not only "html") In the same time I added a class .has-icon to add paddind to .sn-title & .sn-content only if the notification has an icon

matthieu-hm avatar Nov 10 '17 15:11 matthieu-hm

Can you please resolve any conflicts, it looks like some of the additions you made were included in a previous fork as well.

flauc avatar Nov 13 '17 17:11 flauc

any update on this issue? This and "No clickIcon EventEmitter on Notification #282" seems to be related and I am stuck on this issue too. I tried to use following option overrides: clickToClose: false, clickIconToClose: true

but nothing happened. Then I tried to use the notification HTML method. It successfully made icon hover effect but it would throw "emitter" error.

I am looking at "ngx-toastr" as an alternative if this one doesn't work out. It has almost all features, except that global settings are only available in "forRoot" method.

supetronix avatar Jul 26 '18 03:07 supetronix

Woah. It should be noted in README that this project is not maintained. This is a 3 years old issue, and there are plenty more old ones.

bernatgy avatar Jun 04 '20 08:06 bernatgy