feat: add tabbingIdentifier property to BrowserWindow (#40410)

feat: add tabbingIdentifier property to BrowserWindow
This commit is contained in:
Shelley Vohr
2023-11-01 20:17:42 -04:00
committed by GitHub
parent 35a9e69eaf
commit aec6ffe4c7
8 changed files with 40 additions and 6 deletions

View File

@@ -505,6 +505,10 @@ events.
A `Integer` property representing the unique ID of the window. Each ID is unique among all `BrowserWindow` instances of the entire Electron application.
#### `win.tabbingIdentifier` _macOS_ _Readonly_
A `string` (optional) property that is equal to the `tabbingIdentifier` passed to the `BrowserWindow` constructor or `undefined` if none was set.
#### `win.autoHideMenuBar`
A `boolean` property that determines whether the window menu bar should hide itself automatically. Once set, the menu bar will only show when users press the single `Alt` key.