effect-transfer.js 866 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*!
  2. * jQuery UI Effects Transfer 1.13.2
  3. * http://jqueryui.com
  4. *
  5. * Copyright jQuery Foundation and other contributors
  6. * Released under the MIT license.
  7. * http://jquery.org/license
  8. */
  9. //>>label: Transfer Effect
  10. //>>group: Effects
  11. //>>description: Displays a transfer effect from one element to another.
  12. //>>docs: http://api.jqueryui.com/transfer-effect/
  13. //>>demos: http://jqueryui.com/effect/
  14. ( function( factory ) {
  15. "use strict";
  16. if ( typeof define === "function" && define.amd ) {
  17. // AMD. Register as an anonymous module.
  18. define( [
  19. "jquery",
  20. "./effect"
  21. ], factory );
  22. } else {
  23. // Browser globals
  24. factory( jQuery );
  25. }
  26. } )( function( $ ) {
  27. "use strict";
  28. var effect;
  29. if ( $.uiBackCompat !== false ) {
  30. effect = $.effects.define( "transfer", function( options, done ) {
  31. $( this ).transfer( options, done );
  32. } );
  33. }
  34. return effect;
  35. } );