Add BrowserWindow.isDevToolsOpened()

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#winisdevtoolsopened
This commit is contained in:
rhysd committed 2015-08-29 19:45:54 +09:00
1 parent 38fb591c6e
commit 54862b49b1
2 files changed
+7

No files matched your search

+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.
*/