mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
fix getFavcion api in webview to return dataUrl
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user