开发者

Extjs: Check if element has a tooltip

开发者 https://www.devze.com 2023-02-23 05:53 出处:网络
I am dynamically adding tooltips to elements depending on certain circumstances, but I dont want to change/add a tooltip if one already exists.

I am dynamically adding tooltips to elements depending on certain circumstances, but I dont want to change/add a tooltip if one already exists.

Is there a way to detect if a element/c开发者_StackOverflow社区omponent already has a tooltip set?

Cheers

jj


No, there is no central registry to store tooltips. Depending on how you create your tooltips you could build your own hashtable to check for already created tooltips.

0

精彩评论

暂无评论...
验证码 换一张
取 消