mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Add WebContents.inspectElement to github-electron
See https://github.com/atom/electron/blob/master/docs/api/web-contents.md#webcontentsinspectelementx-y
This commit is contained in:
Vendored
+4
@@ -778,6 +778,10 @@ declare module Electron {
|
||||
* Toggle the developer tools.
|
||||
*/
|
||||
toggleDevTools(): void;
|
||||
/**
|
||||
* Starts inspecting element at position (x, y).
|
||||
*/
|
||||
inspectElement(x: number, y: number): void;
|
||||
/**
|
||||
* Send args.. to the web page via channel in asynchronous message, the web page
|
||||
* can handle it by listening to the channel event of ipc module.
|
||||
|
||||
Reference in New Issue
Block a user