【问题标题】:Is there a way to expand the entire dom tree using any browser's developer tools?有没有办法使用任何浏览器的开发工具来扩展整个 dom 树?
【发布时间】:2015-06-05 12:15:44
【问题描述】:

我用 chrome 发现,即使我选择 body 标签(或任何标签,就此而言)并按 option + 右箭头,一些节点没有展开,我不得不手动展开剩余节点非常耗时。任何建议将不胜感激!

【问题讨论】:

    标签: javascript html firefox google-chrome-devtools frontend


    【解决方案1】:

    根据Chrome devtools keyboard shortcuts page,您可以在Windows / Linux 上使用Ctrl + Alt + click the arrow icon,在Mac 上使用Opt + click on arrow icon

    【讨论】:

    • 谢谢!我不敢相信我忽略了这一点 - 我使用的是选项 + 箭头键而不是选项 + 点击。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-05-14
    • 2023-04-09
    • 2014-11-19
    • 2014-12-16
    • 2011-03-28
    相关资源
    最近更新 更多