Document webContents.focus()

This commit is contained in:
Birunthan Mohanathas 2017-06-15 10:19:27 -07:00
parent e94698d7cd
commit ece50c036d

View file

@ -611,6 +611,10 @@ Returns `String` - The title of the current web page.
Returns `Boolean` - Whether the web page is destroyed.
#### `contents.focus()`
Focuses the web page.
#### `contents.isFocused()`
Returns `Boolean` - Whether the web page is focused.