Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no win.isDevToolsOpen() method in v0.14.7 but had in document. #5394

Closed
turnerguo opened this issue Oct 22, 2016 · 7 comments
Closed

Comments

@turnerguo
Copy link

I just using v0.14.7 LTS recently, and found there is no win.isDevToolsOpen() method in Window reference, but it is described in the document. So, is this a bug?
Really excepted that LTS version to be solid stabled, please have a look on this.

@divinemanwah
Copy link

Are you using the SDK version? Only that has devtools functions :)

@turnerguo
Copy link
Author

@divinemanwah Yes I did, tried both nwjs-sdk-v0.14.7-osx-x64 and nwjs-sdk-v0.14.7-win-ia32,I believe the same issue in other versions.

@turnerguo
Copy link
Author

And the doubt thing is that both win.showDevTools and win.closeDevTools methods exists, just missed win.isDevToolsOpen.

@WoodyWoodsta
Copy link

It is unfortunate that a method such as this one has been removed. Keeping track of the state of devtools by means of events is messy (especially when the devtools-opened event has been removed as well).

Would anyone happen to know of another way to detect the state of devtools?

@GeekHuber
Copy link

Anybody know of another way to detect the open state of devtools?

@Christywl
Copy link
Contributor

Duplicate with #4487,#5063, @rogerwang

@rogerwang
Copy link
Member

close as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants