简体   繁体   English

Vuetify 在哪里渲染它的 v-tooltip? 我无法 select 或从 Chrome 元素选择器中找到它

[英]Where is Vuetify render it's v-tooltip? I can't select or find it from Chrome element selector

The Official docs have v-tooltip live examples https://vuetifyjs.com/en/components/tooltips/官方文档有 v-tooltip 实例https://vuetifyjs.com/en/components/tooltips/

In the very bottom, there is a toggle version where I can keep tooltip alive .在最底部,有一个切换版本,我可以在其中保持工具提示处于活动状态。

Now, although I kept the tooltip alive, I can't select it using Chrome element selector .现在,虽然我保持工具提示活着,但我不能 select 使用 Chrome 元素选择器

And, I can't even find the tooltip from the dev tool, I've searched all over the place, I just couldn't find where Vuetify rendered that tooltip.而且,我什至无法从开发工具中找到工具提示,我到处搜索,只是找不到 Vuetify 呈现该工具提示的位置。

I've searched for pseudo-elements as well.我也搜索过伪元素。

Where is Vuetify render its tooltip? Vuetify 在哪里渲染它的工具提示?

在此处输入图像描述

It's just on the same level as div with v-application--wrap class.它与带有v-application--wrap class 的div处于同一级别。 That's why you can't select it using Chrome selector.这就是为什么你不能使用 Chrome 选择器 select 它的原因。

You can open developer tools by pressing F12 and select it on Elements tab.您可以通过在Elements选项卡上按F12和 select 打开开发人员工具。 As for your example, it's here:至于你的例子,它在这里: Chrome 开发者标签

Sometimes you might need to debug your tooltips that hides on mouseover.有时您可能需要调试在鼠标悬停时隐藏的工具提示。 In this case you can pause script evaluation by pressing F8 on Sources tab.在这种情况下,您可以通过在Sources选项卡上按F8来暂停脚本评估。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM