[CLOSED] Hide Empty Tooltips Globally

  1. #1

    [CLOSED] Hide Empty Tooltips Globally

    Hello,
    Is there a way to hide empty tooltips globally?
    Last edited by fabricio.murta; Nov 15, 2016 at 12:54 AM.
  2. #2
    Hello Emidio!

    I don't think there's a way to simply do this quickly. But you can write a function to check the tooltips' contents and then hide them if the tooltip is empty. It really depends on how you are using the tooltips, I guess.

    Something like this can help traversing thru all tooltips on your page:

    for (var comphand in Ext.ComponentManager.all) {
        var comp = Ext.ComponentManager.all[comphand];
        if (comp.xtype == 'tooltip') {
            console.log('id: ' + comp.id);
        };
    }
    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Thanks Fabricio

Similar Threads

  1. [CLOSED] ToolTips : Image hover show ToolTips
    By matrixwebtech in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 17, 2015, 10:12 AM
  2. [CLOSED] Is it possible to hide all shown ToolTips?
    By RCN in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 06, 2013, 3:55 PM
  3. Replies: 2
    Last Post: Jun 20, 2013, 10:32 AM
  4. [CLOSED] How to hide empty ToolTip?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 17, 2012, 5:44 AM
  5. Replies: 0
    Last Post: Jun 26, 2009, 11:32 AM

Posting Permissions