1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/themes/default/js/ui/jquery.ui.effect-fade.js

31 lines
558 B
JavaScript
Raw Normal View History

2014-07-06 13:21:10 +02:00
/*!
2015-07-05 19:03:18 +02:00
* jQuery UI Effects Fade 1.10.4
2014-07-06 13:21:10 +02:00
* http://jqueryui.com
*
2015-07-05 19:03:18 +02:00
* Copyright 2014 jQuery Foundation and other contributors
2014-07-06 13:21:10 +02:00
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/fade-effect/
*
* Depends:
* jquery.ui.effect.js
*/
(function( $, undefined ) {
$.effects.effect.fade = function( o, done ) {
var el = $( this ),
mode = $.effects.setMode( el, o.mode || "toggle" );
el.animate({
opacity: mode
}, {
queue: false,
duration: o.duration,
easing: o.easing,
complete: done
});
};
})( jQuery );