template.js.base.jquery.ui.effect-highlight.min.js Maven / Gradle / Ivy
/*! jQuery UI - v1.10.4 - 2014-04-02
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function (t) {
t.effects.effect.highlight = function (e, i) {
var s = t(this), n = ["backgroundImage", "backgroundColor", "opacity"], a = t.effects.setMode(s, e.mode || "show"), o = {backgroundColor: s.css("backgroundColor")};
"hide" === a && (o.opacity = 0), t.effects.save(s, n), s.show().css({backgroundImage: "none", backgroundColor: e.color || "#ffff99"}).animate(o, {queue: !1, duration: e.duration, easing: e.easing, complete: function () {
"hide" === a && s.hide(), t.effects.restore(s, n), i()
}})
}
})(jQuery);