template.js.base.effect-drop.min.js Maven / Gradle / Ivy
'use strict';(function(b){"function"===typeof define&&define.amd?define(["jquery","../version","../effect"],b):b(jQuery)})(function(b){return b.effects.define("drop","hide",function(c,h){var a,e=b(this),k="show"===c.mode;a=c.direction||"left";var f="up"===a||"down"===a?"top":"left",g="up"===a||"left"===a?"-\x3d":"+\x3d",l="+\x3d"===g?"-\x3d":"+\x3d",d={opacity:0};b.effects.createPlaceholder(e);a=c.distance||e["top"===f?"outerHeight":"outerWidth"](!0)/2;d[f]=g+a;k&&(e.css(d),d[f]=l+a,d.opacity=1);
e.animate(d,{queue:!1,duration:c.duration,easing:c.easing,complete:h})})});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy