![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /usr/share/javascript/jquery-ui/ui/effects/ |
!function(factory){"use strict";"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],factory):factory(jQuery)}(function($){"use strict";return $.effects.define("clip","hide",function(options,done){var animate={},element=$(this),direction=options.direction||"vertical",both="both"===direction,horizontal=both||"horizontal"===direction,both=both||"vertical"===direction,direction=element.cssClip();animate.clip={top:both?(direction.bottom-direction.top)/2:direction.top,right:horizontal?(direction.right-direction.left)/2:direction.right,bottom:both?(direction.bottom-direction.top)/2:direction.bottom,left:horizontal?(direction.right-direction.left)/2:direction.left},$.effects.createPlaceholder(element),"show"===options.mode&&(element.cssClip(animate.clip),animate.clip=direction),element.animate(animate,{queue:!1,duration:options.duration,easing:options.easing,complete:done})})});