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:
Josh Olson
2016-02-11 01:03:09 -06:00
parent 1a5b2a729d
commit ecf4bb3346
+4
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.