开发者

Extjs: Check if element has a tooltip

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜