Detect whether a browser, a tab close event has been occured?
How to detect whether a browser has been closed, a tab has been closed? Are there any events available to handle each one of the above cases in Angular/Javascript. Any information or sample code will be helpful and appreciated. Thanks!
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 25, 2020, 2:07 AM EDT