Merge pull request #8042 from OlsonDev/patch-1

Add WebContents.inspectElement to github-electron
This commit is contained in:
Masahiro Wakame
2016-02-12 00:50:26 +09:00

View File

@@ -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.