Sha256: 7575b84bc71a72777126bad5818beaf01e72e563d1cbd9a4ec40639e841dc31e
Contents?: true
Size: 841 Bytes
Versions: 31
Compression:
Stored size: 841 Bytes
Contents
/* */ "format amd"; /*! jQuery UI - v1.11.4 - 2015-03-13 * http://jqueryui.com * Copyright jQuery Foundation and other contributors; Licensed MIT */ (function(t){"function"==typeof define&&define.amd?define(["jquery","./effect"],t):t(jQuery)})(function(t){return t.effects.effect.clip=function(e,i){var s,n,o,a=t(this),r=["position","top","bottom","left","right","height","width"],h=t.effects.setMode(a,e.mode||"hide"),l="show"===h,c=e.direction||"vertical",u="vertical"===c,d=u?"height":"width",p=u?"top":"left",f={};t.effects.save(a,r),a.show(),s=t.effects.createWrapper(a).css({overflow:"hidden"}),n="IMG"===a[0].tagName?s:a,o=n[d](),l&&(n.css(d,0),n.css(p,o/2)),f[d]=l?o:0,f[p]=l?0:o/2,n.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){l||a.hide(),t.effects.restore(a,r),t.effects.removeWrapper(a),i()}})}});
Version data entries
31 entries across 31 versions & 1 rubygems