docs: Document the disposition
parameter
This commit is contained in:
parent
22c5720aa2
commit
033212841d
2 changed files with 4 additions and 1 deletions
|
@ -551,7 +551,8 @@ Emitted when a redirect was received while requesting a resource.
|
|||
* `event` Event
|
||||
* `url` String
|
||||
* `frameName` String
|
||||
* `options` Object
|
||||
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
|
||||
`new-window` and `other`
|
||||
|
||||
Emitted when the page requested to open a new window for `url`. It could be
|
||||
requested by `window.open` or an external link like `<a target='_blank'>`.
|
||||
|
|
|
@ -250,6 +250,8 @@ webview.addEventListener('console-message', function(e) {
|
|||
|
||||
* `url` String
|
||||
* `frameName` String
|
||||
* `disposition` String - Can be `default`, `foreground-tab`, `background-tab`,
|
||||
`new-window` and `other`
|
||||
|
||||
Fired when the guest page attempts to open a new browser window.
|
||||
|
||||
|
|
Loading…
Reference in a new issue