From 2907c4f06828d01c963e98c41ba25de9e0ad20ae Mon Sep 17 00:00:00 2001 From: Dick Choi Date: Mon, 18 Jan 2016 18:35:14 +0900 Subject: [PATCH] Update frameless-window.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `-title-bar-style` => `titleBarStyle“ https://github.com/atom/electron/blob/master/docs/api/browser-window.md#class-browserwindow --- docs/api/frameless-window.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/frameless-window.md b/docs/api/frameless-window.md index f9afa55af517..22309fa58627 100644 --- a/docs/api/frameless-window.md +++ b/docs/api/frameless-window.md @@ -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