dist/shards-vue.umd.js
function () {
              if (this$1._config.animation) {
                  var initConfigAnimation = this$1._config.animation || false;

                  if (getAttr(TPElement, 'x-placement') !== null) {
                      return
                  }

                  removeClass(TPElement, TP_STATE_CLASSES.FADE);
                  this$1._config.animation = false;
                  this$1.hide();
                  this$1.show();
                  this$1._config.animation = initConfigAnimation;
              }

              var prevHoverState = this$1._hoverState;
              this$1._hoverState = null;

              if (prevHoverState === TOOLTIP_HOVER_STATE_CLASSES.OUT) {
                  this$1._handleLeave(null);
              }

              var shownEvt = new CancelableEvent('shown', {
                  cancelable: false,
                  target: this$1._targetElement,
                  relatedTarget: TPElement
              });

              this$1._emitCustomEvent(shownEvt);
          }
function () {
              if (this$1._config.animation) {
                  var initConfigAnimation = this$1._config.animation || false;

                  if (getAttr(TPElement, 'x-placement') !== null) {
                      return
                  }

                  removeClass(TPElement, TP_STATE_CLASSES.FADE);
                  this$1._config.animation = false;
                  this$1.hide();
                  this$1.show();
                  this$1._config.animation = initConfigAnimation;
              }

              var prevHoverState = this$1._hoverState;
              this$1._hoverState = null;

              if (prevHoverState === TOOLTIP_HOVER_STATE_CLASSES.OUT) {
                  this$1._handleLeave(null);
              }

              var shownEvt = new CancelableEvent('shown', {
                  cancelable: false,
                  target: this$1._targetElement,
                  relatedTarget: TPElement
              });

              this$1._emitCustomEvent(shownEvt);
          }
function ( ) { if ( this$1 . _config . animation ) { var initConfigAnimation = this$1 . _config . animation || false ; if ( getAttr ( TPElement , 'x-placement' ) !== null ) { return } removeClass ( TPElement , TP_STATE_CLASSES . FADE ) ; this$1 . _config . animation = false ; this$1 . hide ( ) ; this$1 . show ( ) ; this$1 . _config . animation = initConfigAnimation ; } var prevHoverState = this$1 . _hoverState ; this$1 . _hoverState = null ; if ( prevHoverState === TOOLTIP_HOVER_STATE_CLASSES . OUT ) { this$1 . _handleLeave ( null ) ; } var shownEvt = new CancelableEvent ( 'shown' , { cancelable : false , target : this$1 . _targetElement , relatedTarget : TPElement } ) ; this$1 . _emitCustomEvent ( shownEvt ) ; }
Prep the transition complete handler
Prep the transition complete handler