Merge pull request #4751 from maxbeatty/window-blur

Add blur method to window
This commit is contained in:
Cheng Zhao 2016-03-11 19:15:51 +09:00
commit 03ec5ced05
4 changed files with 17 additions and 0 deletions

View file

@ -405,6 +405,10 @@ the [close event](#event-close).
Focus on the window.
### `win.blur()`
Remove focus on the window.
### `win.isFocused()`
Returns a boolean, whether the window is focused.