No need of example for such simple API
This commit is contained in:
parent
1bb042a661
commit
09b93aa164
1 changed files with 0 additions and 10 deletions
|
@ -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.
|
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_
|
#### `win.setVibrancy(type)` _macOS_
|
||||||
|
|
||||||
* `type` String - Can be `appearance-based`, `light`, `dark`, `titlebar`,
|
* `type` String - Can be `appearance-based`, `light`, `dark`, `titlebar`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue