src/tooltip/tooltip.js
// Show the tooltip with delay if specified, otherwise show it immediately
Show the tooltip with delay if specified, otherwise show it immediately
Show the tooltip with delay if specified otherwise show it immediately
function showTooltipBind() {
              if(hasEnableExp && !scope.$parent.$eval(attrs[prefix+'Enable'])) {
                return;
              }
              if ( scope.tt_popupDelay ) {
                if (!popupTimeout) {
                  popupTimeout = $timeout( show, scope.tt_popupDelay, false );
                  popupTimeout.then(function(reposition){reposition();});
                }
              } else {
                show()();
              }
            }
function showTooltipBind ( ) { if ( hasEnableExp && ! scope . $parent . $eval ( attrs [ prefix + 'Enable' ] ) ) { return ; } if ( scope . tt_popupDelay ) { if ( ! popupTimeout ) { popupTimeout = $timeout ( show , scope . tt_popupDelay , false ) ; popupTimeout . then ( function ( reposition ) { reposition ( ) ; } ) ; } } else { show ( ) ( ) ; } }
Show the tooltip with delay if specified, otherwise show it immediately
Show the tooltip with delay if specified otherwise show it immediately
// Do nothing if the tooltip was already scheduled to pop-up. // This happens if show is triggered multiple times before any hide is triggered.