Add BrowserWindow.isDevToolsOpened()

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#winisdevtoolsopened
This commit is contained in:
rhysd
2015-08-29 19:45:54 +09:00
parent 38fb591c6e
commit 54862b49b1
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -356,6 +356,10 @@ declare module GitHubElectron {
* Closes the developer tools.
*/
closeDevTools(): void;
/**
* Returns whether the developer tools are opened.
*/
isDevToolsOpened(): boolean;
/**
* Toggle the developer tools.
*/