The problem is the following: I want clear my localStorage when I close the last tab open or when I close the browser... the problem if there is not a close event so the method avaibles are onload and onbeforeunload and when you reload the browser this method are fired so how i can do it??
https://stackoverflow.com/questions/67013746/how-know-if-i-closing-one-tab-the-last-tab-or-the-browser-in-angular April 09, 2021 at 09:05AM
没有评论:
发表评论