Sha256: 35c3675701166246b4c501a8d36545df137e4fdedd21156b80d5c8d6af3ea242
Contents?: true
Size: 693 Bytes
Versions: 42
Compression:
Stored size: 693 Bytes
Contents
/* * jQuery UI Effects Fade @VERSION * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Effects/Fade * * Depends: * jquery.effects.core.js */ (function( $, undefined ) { $.effects.fade = function(o) { return this.queue(function() { var elem = $(this), mode = $.effects.setMode(elem, o.options.mode || 'hide'); elem.animate({ opacity: mode }, { queue: false, duration: o.duration, easing: o.options.easing, complete: function() { (o.callback && o.callback.apply(this, arguments)); elem.dequeue(); } }); }); }; })(jQuery);
Version data entries
42 entries across 42 versions & 1 rubygems