mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Document webContents.focus()
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user