Browse Source

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

Bruce Auyeung 5 years ago
parent
commit
07b94ff578
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/api/browser-window.md
  2. 1 1
      docs/api/web-contents.md

+ 1 - 1
docs/api/browser-window.md

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

+ 1 - 1
docs/api/web-contents.md

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