docs: clarify uniqueness of WebContents.id, BrowserWindow.id (#21101)

This commit is contained in:
Bruce Auyeung 2019-11-22 03:11:44 +08:00 committed by Shelley Vohr
parent 1da9959f57
commit 07b94ff578
2 changed files with 2 additions and 2 deletions

View file

@ -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`

View file

@ -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_