WordPress/wp-includes/js/jquery/ui/effect-drop.min.js
desrosj 99dfd1ca08 Build/Test Tools: Update npm devDependencies 6.6.
This updates the npm `devDependencies` for Core to their latest versions, with one exception. The latest version of `sinon` causes some test failures and requires more investigation.

Fixes #61498.
Built from https://develop.svn.wordpress.org/trunk@58563


git-svn-id: http://core.svn.wordpress.org/trunk@58011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-06-25 13:05:27 +00:00

9 lines
727 B
JavaScript

/*!
* jQuery UI Effects Drop 1.13.3
* https://jqueryui.com
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],e):e(jQuery)}(function(r){return r.effects.define("drop","hide",function(e,t){var i,n=r(this),o="show"===e.mode,f=e.direction||"left",c="up"===f||"down"===f?"top":"left",f="up"===f||"left"===f?"-=":"+=",d="+="==f?"-=":"+=",u={opacity:0};r.effects.createPlaceholder(n),i=e.distance||n["top"==c?"outerHeight":"outerWidth"](!0)/2,u[c]=f+i,o&&(n.css(u),u[c]=d+i,u.opacity=1),n.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:t})})});