angular2-notifications
angular2-notifications copied to clipboard
Fix clickIconToClose
This pull request add the missing EventEmitter clickIcon
& make works clickIconToClose
for 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
Can you please resolve any conflicts, it looks like some of the additions you made were included in a previous fork as well.
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.
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.