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

Capturing the window open/close event for use in Javascript programs #9

Open
Techokami opened this issue Feb 6, 2018 · 1 comment

Comments

@Techokami
Copy link

Hello,

I am knee deep in working over this amazing thing into a new personal website, and one thing I want to know is how to capture the event of a window getting opened or closed. This is for use with something like, a game in Javascript that exists within a window, so the state can be initialized upon the window being opened, and clearing the state and stopping the game when the window is closed.

Thank you!

@nathansmith
Copy link
Owner

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

2 participants