Mention preloadURL is in webPreferences
This commit is contained in:
parent
27a4522d65
commit
6fccb75dfb
2 changed files with 6 additions and 0 deletions
|
@ -558,6 +558,9 @@ This event can be used to configure `webPreferences` for the `webContents`
|
|||
of a `<webview>` before it's loaded, and provides the ability to set settings
|
||||
that can't be set via `<webview>` attributes.
|
||||
|
||||
**Note:** The specified `preload` script option will be appear as `preloadURL`
|
||||
(not `preload`) in the `webPreferences` object emitted with this event.
|
||||
|
||||
### Instance Methods
|
||||
|
||||
#### `contents.loadURL(url[, options])`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue