Merge pull request #9769 from electron/deprecate-hidden-inset

Add titleBarStyle: 'hidden-inset' to planned breaking changes
This commit is contained in:
Zeke Sikelianos 2017-06-15 13:13:02 -07:00 committed by GitHub
commit 6c94c265f3

View file

@ -25,6 +25,16 @@ let optionsB = {webPreferences: {enableBlinkFeatures: ''}}
let windowB = new BrowserWindow(optionsB)
```
```js
// Deprecated
let optionsA = {titleBarStyle: 'hidden-inset'}
let windowA = new BrowserWindow(optionsA)
// Replace with
let optionsB = {titleBarStyle: 'hiddenInset'}
let windowB = new BrowserWindow(optionsB)
```
## `clipboard`
```js