Sha256: eddf759cad2cd9274676e89d7f311299b13ecb434dc54b6dab9b30cd9464a008
Contents?: true
Size: 869 Bytes
Versions: 23
Compression:
Stored size: 869 Bytes
Contents
/*! * jQuery UI Effects Clip 1.10.3 * http://jqueryui.com * * Copyright 2013 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/clip-effect/ * * Depends: * jquery.ui.effect.js */ !function(e){e.effects.effect.clip=function(t,i){var o,s,f,c=e(this),r=["position","top","bottom","left","right","height","width"],a=e.effects.setMode(c,t.mode||"hide"),n="show"===a,h=t.direction||"vertical",d="vertical"===h,p=d?"height":"width",u=d?"top":"left",l={};e.effects.save(c,r),c.show(),o=e.effects.createWrapper(c).css({overflow:"hidden"}),s="IMG"===c[0].tagName?o:c,f=s[p](),n&&(s.css(p,0),s.css(u,f/2)),l[p]=n?f:0,l[u]=n?0:f/2,s.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){n||c.hide(),e.effects.restore(c,r),e.effects.removeWrapper(c),i()}})}}(jQuery);
Version data entries
23 entries across 23 versions & 1 rubygems