template.js.base.effect-clip.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("clip","hide",function(d,h){var a,e={},f=b(this);a=d.direction||"vertical";var c="both"===a,g=c||"horizontal"===a,c=c||"vertical"===a;a=f.cssClip();e.clip={top:c?(a.bottom-a.top)/2:a.top,right:g?(a.right-a.left)/2:a.right,bottom:c?(a.bottom-a.top)/2:a.bottom,left:g?(a.right-a.left)/2:a.left};b.effects.createPlaceholder(f);"show"===d.mode&&(f.cssClip(e.clip),
e.clip=a);f.animate(e,{queue:!1,duration:d.duration,easing:d.easing,complete:h})})});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy