added did-navigate event, getFavicon api and workaround webview spec
This commit is contained in:
parent
9b585458c1
commit
36819e2638
9 changed files with 51 additions and 10 deletions
|
@ -632,6 +632,12 @@ cancelled, e.g. `window.stop()` is invoked.
|
|||
|
||||
Emitted when a frame has done navigation.
|
||||
|
||||
### Event: 'did-navigate'
|
||||
|
||||
* `event` Event
|
||||
|
||||
Emitted when a frame navigation has been committed to history.
|
||||
|
||||
### Event: 'did-start-loading'
|
||||
|
||||
Corresponds to the points in time when the spinner of the tab starts spinning.
|
||||
|
@ -662,7 +668,7 @@ Emitted when details regarding a requested resource is available.
|
|||
|
||||
Emitted when a redirect was received while requesting a resource.
|
||||
|
||||
### Event: 'page-favicon-set'
|
||||
### Event: 'page-favicon-updated'
|
||||
|
||||
* `event` Event
|
||||
* `favicons` [String]
|
||||
|
@ -720,6 +726,10 @@ Returns URL of current web page.
|
|||
|
||||
Returns the title of web page.
|
||||
|
||||
### WebContents.getFavicon()
|
||||
|
||||
Returns the favicon of web page as `nativeImage`.
|
||||
|
||||
### WebContents.isLoading()
|
||||
|
||||
Returns whether web page is still loading resources.
|
||||
|
|
|
@ -130,6 +130,10 @@ Returns URL of guest page.
|
|||
|
||||
Returns the title of guest page.
|
||||
|
||||
### `<webview>`.getFavicon()
|
||||
|
||||
Returns the favicon of guest page as `nativeImage`.
|
||||
|
||||
### `<webview>`.isLoading()
|
||||
|
||||
Returns whether guest page is still loading resources.
|
||||
|
@ -301,6 +305,10 @@ cancelled, e.g. `window.stop()` is invoked.
|
|||
|
||||
Fired when a frame has done navigation.
|
||||
|
||||
### did-navigate
|
||||
|
||||
Fired when a frame navigation has been committed to history.
|
||||
|
||||
### did-start-loading
|
||||
|
||||
Corresponds to the points in time when the spinner of the tab starts spinning.
|
||||
|
@ -337,7 +345,7 @@ 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
|
||||
### page-favicon-updated
|
||||
|
||||
* `favicons` [String]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue