effect-transfer.js 887 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*!
  2. * jQuery UI Effects Transfer 1.14.1
  3. * https://jqueryui.com
  4. *
  5. * Copyright OpenJS Foundation and other contributors
  6. * Released under the MIT license.
  7. * https://jquery.org/license
  8. */
  9. //>>label: Transfer Effect
  10. //>>group: Effects
  11. //>>description: Displays a transfer effect from one element to another.
  12. //>>docs: https://api.jqueryui.com/transfer-effect/
  13. //>>demos: https://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. "../version",
  21. "../effect"
  22. ], factory );
  23. } else {
  24. // Browser globals
  25. factory( jQuery );
  26. }
  27. } )( function( $ ) {
  28. "use strict";
  29. var effect;
  30. if ( $.uiBackCompat === true ) {
  31. effect = $.effects.define( "transfer", function( options, done ) {
  32. $( this ).transfer( options, done );
  33. } );
  34. }
  35. return effect;
  36. } );