docs: clarify uniqueness of WebContents.id, BrowserWindow.id (#21101)
This commit is contained in:
parent
1da9959f57
commit
07b94ff578
2 changed files with 2 additions and 2 deletions
|
@ -772,7 +772,7 @@ events.
|
||||||
|
|
||||||
#### `win.id` _Readonly_
|
#### `win.id` _Readonly_
|
||||||
|
|
||||||
A `Integer` property representing the unique ID of the window.
|
A `Integer` property representing the unique ID of the window. Each ID is unique among all `BrowserWindow` instances of the entire Electron application.
|
||||||
|
|
||||||
#### `win.autoHideMenuBar`
|
#### `win.autoHideMenuBar`
|
||||||
|
|
||||||
|
|
|
@ -1771,7 +1771,7 @@ Only applicable if *offscreen rendering* is enabled.
|
||||||
|
|
||||||
#### `contents.id` _Readonly_
|
#### `contents.id` _Readonly_
|
||||||
|
|
||||||
A `Integer` representing the unique ID of this WebContents.
|
A `Integer` representing the unique ID of this WebContents. Each ID is unique among all `WebContents` instances of the entire Electron application.
|
||||||
|
|
||||||
#### `contents.session` _Readonly_
|
#### `contents.session` _Readonly_
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue