-
-
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
能否提供api来获取工具面板里的信息? #83
Labels
Comments
1.5.1 版本已发布,支持获取信息。 const info = eruda.get('info')
info.add('title', 'content')
info.get(); // -> [{name: 'title', val: 'content'}]
info.get('title') // -> 'content' |
这个是只加了Info吗?我只是以info做个例子,应该其他的也加一下对于的接口?console, network, resources。 |
只加 info,列举的其它那些自己重写下相关方法就能拿到了吧。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如Info
类似于这样的api。
虽然可以通过
info._infos
获取,但感觉不是很直观。The text was updated successfully, but these errors were encountered: