Debian Codegraph @

ui/effects/effect-transfer.js

raw symbols SCIP
1 /*!
2 * jQuery UI Effects Transfer 1.14.2
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
10 //>>label: Transfer Effect
11 //>>group: Effects
12 //>>description: Displays a transfer effect from one element to another.
13 //>>docs: https://api.jqueryui.com/transfer-effect/
14 //>>demos: https://jqueryui.com/effect/
15
16 ( function( factory ) {
17 "use strict";
18
19 if ( typeof define === "function" && define.amd ) {
20
21 // AMD. Register as an anonymous module.
22 define( [
23 "jquery",
24 "../version",
25 "../effect"
26 ], factory );
27 } else {
28
29 // Browser globals
30 factory( jQuery );
31 }
32 } )( function( $ ) {
33 "use strict";
34
35 var effect;
36 if ( $.uiBackCompat === true ) {
37 effect = $.effects.define( "transfer", function( options, done ) {
38 $( this ).transfer( options, done );
39 } );
40 }
41 return effect;
42
43 } );