All Downloads are FREE. Search and download functionalities are using the official Maven repository.

template.js.base.effect-blind.min.js Maven / Gradle / Ivy

There is a newer version: 5.0.5
Show newest version
'use strict';(function(a){"function"===typeof define&&define.amd?define(["jquery","../version","../effect"],a):a(jQuery)})(function(a){return a.effects.define("blind","hide",function(c,k){var f={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},d=a(this),g=c.direction||"up",h=d.cssClip(),b={clip:a.extend({},h)},e=a.effects.createPlaceholder(d);b.clip[f[g][0]]=b.clip[f[g][1]];"show"===c.mode&&(d.cssClip(b.clip),
e&&e.css(a.effects.clipToBox(b)),b.clip=h);e&&e.animate(a.effects.clipToBox(b),c.duration,c.easing);d.animate(b,{queue:!1,duration:c.duration,easing:c.easing,complete:k})})});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy