mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Update Electron.WebContents (#11748)
* electron: Remove WebContents.getFavicon() This was removed in electron/electron#1554 * electron: Add missing WebContents.{isDestroyed,isFocused} See http://electron.atom.io/docs/api/web-contents
This commit is contained in:
committed by
Masahiro Wakame
parent
6fdf789f54
commit
026bbfeb7a
8
electron/index.d.ts
vendored
8
electron/index.d.ts
vendored
@@ -3967,9 +3967,13 @@ declare namespace Electron {
|
||||
*/
|
||||
getTitle(): string;
|
||||
/**
|
||||
* @returns The favicon of the web page.
|
||||
* @returns Whether the web page is destroyed.
|
||||
*/
|
||||
getFavicon(): NativeImage;
|
||||
isDestroyed(): boolean;
|
||||
/**
|
||||
* @returns Whether the web page is focused.
|
||||
*/
|
||||
isFocused(): boolean;
|
||||
/**
|
||||
* @returns Whether web page is still loading resources.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user