From f6081b18b6a74f947e227de4d1a5f3ddbb0404ad Mon Sep 17 00:00:00 2001 From: popod Date: Mon, 17 Dec 2018 21:16:24 +0100 Subject: [PATCH] docs: Improve the doc about BrowserWindow title property (#16086) * Improve the doc about BrowserWindow title property * Update docs/api/browser-window.md Co-Authored-By: popod --- docs/api/browser-window.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 40b6c1cb576a..9593daf15a95 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -179,7 +179,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`. * `skipTaskbar` Boolean (optional) - Whether to show the window in taskbar. Default is `false`. * `kiosk` Boolean (optional) - The kiosk mode. Default is `false`. - * `title` String (optional) - Default window title. Default is `"Electron"`. + * `title` String (optional) - Default window title. Default is `"Electron"`. If the HTML tag `` is defined in the HTML file loaded by `loadURL()`, this property will be ignored. * `icon` ([NativeImage](native-image.md) | String) (optional) - The window icon. On Windows it is recommended to use `ICO` icons to get best visual effects, you can also leave it undefined so the executable's icon will be used. @@ -1110,7 +1110,7 @@ Changes the title of native window to `title`. Returns `String` - The title of the native window. -**Note:** The title of web page can be different from the title of the native +**Note:** The title of the web page can be different from the title of the native window. #### `win.setSheetOffset(offsetY[, offsetX])` _macOS_