Document webContents.focus()
This commit is contained in:
parent
e94698d7cd
commit
ece50c036d
1 changed files with 4 additions and 0 deletions
|
@ -611,6 +611,10 @@ Returns `String` - The title of the current web page.
|
||||||
|
|
||||||
Returns `Boolean` - Whether the web page is destroyed.
|
Returns `Boolean` - Whether the web page is destroyed.
|
||||||
|
|
||||||
|
#### `contents.focus()`
|
||||||
|
|
||||||
|
Focuses the web page.
|
||||||
|
|
||||||
#### `contents.isFocused()`
|
#### `contents.isFocused()`
|
||||||
|
|
||||||
Returns `Boolean` - Whether the web page is focused.
|
Returns `Boolean` - Whether the web page is focused.
|
||||||
|
|
Loading…
Reference in a new issue