mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00: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:
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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user