Skip to content

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

Description

@Techokami

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions