]> khamidou — GitHub mirrors - electron.git/commitdiff
Update frameless-window.md
authorDick Choi <fluke8259@gmail.com>
Mon, 18 Jan 2016 09:35:14 +0000 (18:35 +0900)
committerDick Choi <fluke8259@gmail.com>
Mon, 18 Jan 2016 09:35:14 +0000 (18:35 +0900)
`-title-bar-style` => `titleBarStyle“

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#class-browserwindow

docs/api/frameless-window.md

index f9afa55af517a07b9ab17842b08ffffe488dffbf..22309fa5862752a3a70da99cf82f0bc9e987908f 100644 (file)
@@ -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