Added 'show' & 'hide' events to browser-window, fixed visibilitychange event in renderer

This commit is contained in:
Arek Sredzki 2016-03-08 09:36:41 -08:00
parent ee61ab2d26
commit c1267b2320
8 changed files with 88 additions and 60 deletions

View file

@ -245,6 +245,14 @@ Emitted when the window loses focus.
Emitted when the window gains focus.
### Event: 'show'
Emitted when the window is shown.
### Event: 'hide'
Emitted when the window is hidden.
### Event: 'maximize'
Emitted when window is maximized.