Skip to main content
angular.module('components').directive('clearTooltip', function () {
return {
    link: function (scope, element) {
        element.mouseleave(function () {
            $(this).tooltip('hide')
        });

        element.on("click", function () {
            $(this).tooltip('hide')
        });
        element.addClass("teste");
    }
};

});

angular.module("components").directive("clearTooltip", function () {
  return {
    link: function (scope, element) {
      element.mouseleave(function () {
        $(this).tooltip("hide");
      });

      element.on("click", function () {
        $(this).tooltip("hide");
      });
      element.addClass("teste");
    },
  };
});
angular.module('components').directive('clearTooltip', function () {
return {
    link: function (scope, element) {
        element.mouseleave(function () {
            $(this).tooltip('hide')
        });

        element.on("click", function () {
            $(this).tooltip('hide')
        });
        element.addClass("teste");
    }
};

});

angular.module("components").directive("clearTooltip", function () {
  return {
    link: function (scope, element) {
      element.mouseleave(function () {
        $(this).tooltip("hide");
      });

      element.on("click", function () {
        $(this).tooltip("hide");
      });
      element.addClass("teste");
    },
  };
});
Post restaurado por Danielle Rodrigues
Post removido por Danielle Rodrigues
Fonte Link

angular.module('components').directive('clearTooltip', function () {
return {
    link: function (scope, element) {
        element.mouseleave(function () {
            $(this).tooltip('hide')
        });

        element.on("click", function () {
            $(this).tooltip('hide')
        });
        element.addClass("teste");
    }
};

});