UI Deploy

Curated, Short, Web UI Dev we Love.

Detecting Window Closing in Ember

In a long-running app such as you might build in Ember, it can be useful to detect when the window is closing. This is easily detected with JavaScript, and there are easy places to put the code in your Ember app.

view source

Advertisement