Add webContents.id property
This commit is contained in:
parent
8a061b7183
commit
998ce73ad9
3 changed files with 10 additions and 0 deletions
|
@ -913,6 +913,10 @@ win.webContents.on('did-finish-load', () => {
|
|||
|
||||
`WebContents` objects also have the following properties:
|
||||
|
||||
### `webContents.id`
|
||||
|
||||
The unique ID of this WebContents.
|
||||
|
||||
### `webContents.session`
|
||||
|
||||
Returns the [session](session.md) object used by this webContents.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue