зеркало из https://github.com/electron/electron.git
docs: fix documented return value for getFocusedWebContents (#33170)
This commit is contained in:
Родитель
a20216de7a
Коммит
3bc3896ee7
|
@ -35,7 +35,7 @@ for all windows, webviews, opened devtools, and devtools extension background pa
|
|||
|
||||
### `webContents.getFocusedWebContents()`
|
||||
|
||||
Returns `WebContents` - The web contents that is focused in this application, otherwise
|
||||
Returns `WebContents` | null - The web contents that is focused in this application, otherwise
|
||||
returns `null`.
|
||||
|
||||
### `webContents.fromId(id)`
|
||||
|
|
Загрузка…
Ссылка в новой задаче