fix getFavcion api in webview to return dataUrl
This commit is contained in:
parent
36819e2638
commit
05be71e9bc
5 changed files with 13 additions and 9 deletions
|
@ -671,7 +671,7 @@ Emitted when a redirect was received while requesting a resource.
|
|||
### Event: 'page-favicon-updated'
|
||||
|
||||
* `event` Event
|
||||
* `favicons` [String]
|
||||
* `favicons` Array - Array of Urls
|
||||
|
||||
Emitted when page receives favicon urls.
|
||||
|
||||
|
@ -728,7 +728,7 @@ Returns the title of web page.
|
|||
|
||||
### WebContents.getFavicon()
|
||||
|
||||
Returns the favicon of web page as `nativeImage`.
|
||||
Returns the favicon of web page as [NativeImage](native-image.md).
|
||||
|
||||
### WebContents.isLoading()
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ Returns the title of guest page.
|
|||
|
||||
### `<webview>`.getFavicon()
|
||||
|
||||
Returns the favicon of guest page as `nativeImage`.
|
||||
Returns the favicon of guest page as dataUrl.
|
||||
|
||||
### `<webview>`.isLoading()
|
||||
|
||||
|
@ -347,7 +347,7 @@ url.
|
|||
|
||||
### page-favicon-updated
|
||||
|
||||
* `favicons` [String]
|
||||
* `favicons` Array - Array of Urls
|
||||
|
||||
Fired when page receives favicon urls.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue