英文:
How to show both the Console and the Elements tab in Safari's Dev Tools?
问题
在Chrome中,您可以将控制台拖动到底部窗口,并将元素放在上面,或者反过来,这样您可以在查看样式的同时快速查看控制台。当您使用JavaScript布尔变量仅在条件为true时应用样式于某些元素时,这将非常有帮助。所以基本上,有没有办法使Safari开发工具(图片左侧)看起来像Chrome开发工具(图片右侧)?
我在Google上花了大约45分钟,似乎只能找到如何将Chrome中的控制台放在与元素选项卡不同的屏幕上。而这正是我在Safari中尝试做的相反的事情。
英文:
In Chrome you can drag the Console down to the bottom window and have the Elements above, or vise-versa, so you can quickly look at the console while you also see the style. This helps a lot when you are using a Javascript boolean variable to apply styles only when true to certain elements. So basically, is there any way to get the Safari Dev Tools (Left in picture) to look like the Chrome Dev Tools (Right in picture)?
I've spent about 45 minutes on Google and I can only seem to find how to make put the Console on a different screen than the Elements tabs for Chrome. Which is the exact opposite as I'm trying to do in Safari.
答案1
得分: 0
在“元素”页面的输入框中编写一些 JavaScript 代码。它应该在输入框上方弹出完整的控制台。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论