mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
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 <popod@me.com>
This commit is contained in:
@@ -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 `<title>` 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_
|
||||
|
||||
Reference in New Issue
Block a user