End session event on browser window

This commit is contained in:
Hari Krishna Reddy Juturu 2017-04-21 20:45:30 +00:00
parent e9880e9c97
commit 3c3e14b820
8 changed files with 38 additions and 0 deletions

View file

@ -376,6 +376,11 @@ window.onbeforeunload = (e) => {
Emitted when the window is closed. After you have received this event you should
remove the reference to the window and avoid using it any more.
#### Event: 'endsession' _Windows_
Emitted when window session is going to end due to force shutdown or machine restart
or session log off.
#### Event: 'unresponsive'
Emitted when the web page becomes unresponsive.