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

TypeError: Notification.close is not a function

Open nadircan opened this issue 7 years ago • 3 comments

I am using ng2-notifications. When i went to other page on my project. I am getting "TypeError: Notification.close is not a function" error. Then i commented this code below. I didnt get an error. But notification didnt close. What is the solution that error?

PushNotificationComponent.prototype.ngOnDestroy = function () { this.closeAll(); };

nadircan avatar Jun 23 '17 07:06 nadircan

I am having the exact same Problem. Is there an update? I also tried to use a close function, but that didn't help.

sogistuvsogistuv avatar Oct 16 '17 05:10 sogistuvsogistuv

same problem here too!

EChoraria avatar Jun 25 '18 08:06 EChoraria

2 years later, same issues.

Have you guys solved it?

franva avatar Aug 11 '20 13:08 franva