Sha256: 7ca9e76b1fa2bc885be17089e196eaa5ce164b0452ad5d02575cd0101d706386
Contents?: true
Size: 1.01 KB
Versions: 2
Compression:
Stored size: 1.01 KB
Contents
//= require jquery-ui-test/version //= require jquery-ui-test/effect /*! * jQuery UI Effects Fade 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ //>>label: Fade Effect //>>group: Effects //>>description: Fades the element. //>>docs: http://api.jqueryui.com/fade-effect/ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { "use strict"; if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "jquery", "../version", "../effect" ], factory ); } else { // Browser globals factory( jQuery ); } } )( function( $ ) { "use strict"; return $.effects.define( "fade", "toggle", function( options, done ) { var show = options.mode === "show"; $( this ) .css( "opacity", show ? 0 : 1 ) .animate( { opacity: show ? 1 : 0 }, { queue: false, duration: options.duration, easing: options.easing, complete: done } ); } ); } );
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jquery-ui-rails-test-6.0.4 | app/assets/javascripts/jquery-ui-test/effects/effect-fade.js |
jquery-ui-rails-test-6.0.3 | app/assets/javascripts/jquery-ui-test/effects/effect-fade.js |