Merge pull request #6029 from electron/web-contents-created-app-api
Add web-contents-created event to app
This commit is contained in:
commit
af722cc104
4 changed files with 33 additions and 13 deletions
|
@ -160,6 +160,15 @@ Returns:
|
|||
|
||||
Emitted when a new [browserWindow](browser-window.md) is created.
|
||||
|
||||
### Event: 'web-contents-created'
|
||||
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `webContents` WebContents
|
||||
|
||||
Emitted when a new [webContents](web-contents.md) is created.
|
||||
|
||||
### Event: 'certificate-error'
|
||||
|
||||
Returns:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue