Viewing File: /usr/share/javascript/jquery-ui/ui/effects/effect-pulsate.min.js
!function(factory){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],factory):factory(jQuery)}(function($){return $.effects.define("pulsate","show",function(options,done){var element=$(this),queuelen=options.mode,show="show"===queuelen,queuelen=show||"hide"===queuelen,anims=2*(options.times||5)+(queuelen?1:0),duration=options.duration/anims,animateTo=0,i=1,queuelen=element.queue().length;for(!show&&element.is(":visible")||(element.css("opacity",0).show(),animateTo=1);i<anims;i++)element.animate({opacity:animateTo},duration,options.easing),animateTo=1-animateTo;element.animate({opacity:animateTo},duration,options.easing),element.queue(done),$.effects.unshift(element,queuelen,1+anims)})});
Back to Directory
File Manager