Browse Source

No need of example for such simple API

Cheng Zhao 7 years ago
parent
commit
09b93aa164
1 changed files with 0 additions and 10 deletions
  1. 0 10
      docs/api/browser-window.md

+ 0 - 10
docs/api/browser-window.md

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