angular2-notifications
angular2-notifications copied to clipboard
No icons
Hi,
Before 4.0.1 I used the following to remove the icons, since 4.0.1 that doesn't work anymore. I checked the commits but couldn't find out if I had to change anything.
this.simpleNotificationsOptions = { icons: { success: '', error: '' } };
I could just disable them via css so it's not really a problem, just a FYI.
That's strange, thanks for the heads up 👍
I'll have a look.
Any news on this? It seems that it isn't possible to override the icons at all. The problem is that the overrides are only applied to the SimpleNotificationsComponent and the NotificationComponent but the icon is a property on the Notification itself. Only properties of the both components can be overwritten.
I also can't override icons :(
I wil try to provide a second PR that allows you to override icons globally and also allow you to hide icons completely :)
@SteffenJahr Was this ever implemented? How does one hide icons?
Nevermind, this works: this.simpleNotificationsOptions = { icons: { success: '', error: '' } };
You can close this issue... @deeweey