mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
No need of example for such simple API
This commit is contained in:
@@ -1407,16 +1407,6 @@ there is only one tab in the current window.
|
||||
|
||||
Adds a window as a tab on this window, after the tab for the window instance.
|
||||
|
||||
```js
|
||||
// in main.js
|
||||
|
||||
BrowserWindow.getFocusedWindow().addTabbedWindow(new BrowserWindow({}))
|
||||
|
||||
// in renderer.js
|
||||
|
||||
remote.getCurrentWindow().addTabbedWindow(new BrowserWindow({}))
|
||||
```
|
||||
|
||||
#### `win.setVibrancy(type)` _macOS_
|
||||
|
||||
* `type` String - Can be `appearance-based`, `light`, `dark`, `titlebar`,
|
||||
|
||||
Reference in New Issue
Block a user