More docs updates
This commit is contained in:
parent
1a9b4b4671
commit
63ebc41778
8 changed files with 44 additions and 40 deletions
|
@ -157,7 +157,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
|||
`false`.
|
||||
* `kiosk` Boolean (optional) - The kiosk mode. Default is `false`.
|
||||
* `title` String (optional) - Default window title. Default is `"Electron"`.
|
||||
* `icon` [NativeImage](native-image.md) (optional) - The window icon. On Windows it is
|
||||
* `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.
|
||||
* `show` Boolean (optional) - Whether window should be shown when created. Default is
|
||||
|
@ -948,7 +948,7 @@ bar will become gray when set to `true`.
|
|||
|
||||
#### `win.isDocumentEdited()` _macOS_
|
||||
|
||||
Whether `Boolean` - Whether the window's document has been edited.
|
||||
Returns `Boolean` - Whether the window's document has been edited.
|
||||
|
||||
#### `win.focusOnWebView()`
|
||||
|
||||
|
@ -964,7 +964,7 @@ Same as `webContents.capturePage([rect, ]callback)`.
|
|||
|
||||
#### `win.loadURL(url[, options])`
|
||||
|
||||
* `url` URL
|
||||
* `url` String
|
||||
* `options` Object (optional)
|
||||
* `httpReferrer` String (optional) - A HTTP Referrer url.
|
||||
* `userAgent` String (optional) - A user agent originating the request.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue