Update frameless-window.md
`-title-bar-style` => `titleBarStyle“ https://github.com/atom/electron/blob/master/docs/api/browser-window.md#class-browserwindow
This commit is contained in:
parent
307add22b2
commit
2907c4f068
1 changed files with 2 additions and 2 deletions
|
@ -20,10 +20,10 @@ a chromeless window. Instead of setting `frame` to `false` which disables
|
||||||
both the titlebar and window controls, you may want to have the title bar
|
both the titlebar and window controls, you may want to have the title bar
|
||||||
hidden and your content extend to the full window size, yet still preserve
|
hidden and your content extend to the full window size, yet still preserve
|
||||||
the window controls ("traffic lights") for standard window actions.
|
the window controls ("traffic lights") for standard window actions.
|
||||||
You can do so by specifying the new `title-bar-style` option:
|
You can do so by specifying the new `titleBarStyle` option:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
var win = new BrowserWindow({ 'title-bar-style': 'hidden' });
|
var win = new BrowserWindow({ 'titleBarStyle': 'hidden' });
|
||||||
```
|
```
|
||||||
|
|
||||||
## Transparent window
|
## Transparent window
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue