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

No icons

Open deeweey opened this issue 7 years ago • 5 comments

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.

deeweey avatar Oct 21 '16 09:10 deeweey

That's strange, thanks for the heads up 👍

I'll have a look.

flauc avatar Oct 23 '16 00:10 flauc

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.

SteffenJahr avatar Jan 27 '17 14:01 SteffenJahr

I also can't override icons :(

AlexanderKarpenko avatar Feb 02 '17 17:02 AlexanderKarpenko

I wil try to provide a second PR that allows you to override icons globally and also allow you to hide icons completely :)

SteffenJahr avatar Feb 06 '17 09:02 SteffenJahr

@SteffenJahr Was this ever implemented? How does one hide icons? Nevermind, this works: this.simpleNotificationsOptions = { icons: { success: '', error: '' } };

You can close this issue... @deeweey

kamok avatar Oct 10 '17 17:10 kamok