mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #4142 from Rokt33r/patch-2
Update frameless-window.md
This commit is contained in:
@@ -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
|
||||
hidden and your content extend to the full window size, yet still preserve
|
||||
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
|
||||
var win = new BrowserWindow({ 'title-bar-style': 'hidden' });
|
||||
var win = new BrowserWindow({ 'titleBarStyle': 'hidden' });
|
||||
```
|
||||
|
||||
## Transparent window
|
||||
|
||||
Reference in New Issue
Block a user