-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
有没有监听eruda面板打开的方法 #50
Comments
有什么使用场景? |
目前我们在使用一个国产的hybrid app的框架。该框架把页头、页尾作为一个主页面,中间的内容部分作为一个iframe嵌进去的,来形成header和footer的固定。 现在我把主页面和iframe都使用了eruda,但是主页面点击eruda的图标后,eruda的面板被iframe遮住了。 所以我想能不能提供一个面板show和hide的监听方法。 |
好的,目前没有方法可以监听到,下个版本加上,大概一周内发布。 |
好的 多谢 |
surunzi
added a commit
that referenced
this issue
Jan 25, 2018
可以更新到v1.4.2,使用方法: var devTools = eruda.get();
devTools.on('show', () => console.log('show')).on('hide', () => console.log('hide')); |
测试可用,非常感谢! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: