![]() The property returns a boolean true if the window is closed and false if the window is in the opened state.įor example to open a new browser window with as the starting page, you can use window.open() method like this, // Open a new browser window const openedWindow = window.open(.Check if the opened browser // window is closed or not window.closed // false ![]() To check if an opened browser window is closed, you can use the closed property in referenced window object in JavaScript. How to check if an opened browser window is closed or not in JavaScript?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |