mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: clarify uniqueness of WebContents.id, BrowserWindow.id (#21101)
This commit is contained in:
committed by
Shelley Vohr
parent
1da9959f57
commit
07b94ff578
@@ -772,7 +772,7 @@ events.
|
||||
|
||||
#### `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`
|
||||
|
||||
|
||||
@@ -1771,7 +1771,7 @@ Only applicable if *offscreen rendering* is enabled.
|
||||
|
||||
#### `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_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user