Merge pull request #6111 from electron/docs-formatting

Docs formatting
This commit is contained in:
Cheng Zhao 2016-06-24 00:24:57 +00:00 committed by GitHub
commit fa023842d3
7 changed files with 46 additions and 40 deletions

View file

@ -542,11 +542,11 @@ the [close event](#event-close).
### `win.focus()`
Focus on the window.
Focuses on the window.
### `win.blur()`
Remove focus on the window.
Removes focus from the window.
### `win.isFocused()`
@ -945,7 +945,7 @@ convey some sort of application status or to passively notify the user.
### `win.setHasShadow(hasShadow)` _macOS_
* `hasShadow` (Boolean)
* `hasShadow` Boolean
Sets whether the window should have a shadow. On Windows and Linux does
nothing.