Mention preloadURL is in webPreferences

This commit is contained in:
Kevin Sawicki 2017-05-17 13:59:48 -07:00
parent 27a4522d65
commit 6fccb75dfb
2 changed files with 6 additions and 0 deletions

View file

@ -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])`