webview: will-navigate and page-favicon-set navigation events
This commit is contained in:
parent
c424d0e9f3
commit
9b585458c1
9 changed files with 72 additions and 3 deletions
|
@ -662,6 +662,13 @@ Emitted when details regarding a requested resource is available.
|
|||
|
||||
Emitted when a redirect was received while requesting a resource.
|
||||
|
||||
### Event: 'page-favicon-set'
|
||||
|
||||
* `event` Event
|
||||
* `favicons` [String]
|
||||
|
||||
Emitted when page receives favicon urls.
|
||||
|
||||
### Event: 'new-window'
|
||||
|
||||
* `event` Event
|
||||
|
|
|
@ -275,6 +275,13 @@ examples.
|
|||
|
||||
## DOM events
|
||||
|
||||
### will-navigate
|
||||
|
||||
* `url` String
|
||||
|
||||
Fired when view is about to navigate , calling `event.preventDefault()` will
|
||||
cancel the navigation.
|
||||
|
||||
### did-finish-load
|
||||
|
||||
Fired when the navigation is done, i.e. the spinner of the tab will stop
|
||||
|
@ -330,6 +337,12 @@ Fired when a redirect was received while requesting a resource.
|
|||
Fired when page title is set during navigation. `explicitSet` is false when title is synthesised from file
|
||||
url.
|
||||
|
||||
### page-favicon-set
|
||||
|
||||
* `favicons` [String]
|
||||
|
||||
Fired when page receives favicon urls.
|
||||
|
||||
### console-message
|
||||
|
||||
* `level` Integer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue