Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Notification.close is not a function #20

Open
nadircan opened this issue Jun 23, 2017 · 3 comments
Open

TypeError: Notification.close is not a function #20

nadircan opened this issue Jun 23, 2017 · 3 comments

Comments

@nadircan
Copy link

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(); };

@sogistuvsogistuv
Copy link

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

@EChoraria
Copy link

same problem here too!

@franva
Copy link

franva commented Aug 11, 2020

2 years later, same issues.

Have you guys solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants