kollapsminoriteten/wp-includes/js/jquery/ui/effect-transfer.js

44 lines
888 B
JavaScript
Raw Normal View History

2020-12-10 14:06:04 +01:00
/*!
2025-02-28 08:42:11 +01:00
* jQuery UI Effects Transfer 1.13.3
* https://jqueryui.com
2020-12-10 14:06:04 +01:00
*
2025-02-28 08:42:11 +01:00
* Copyright OpenJS Foundation and other contributors
2020-12-10 14:06:04 +01:00
* Released under the MIT license.
2025-02-28 08:42:11 +01:00
* https://jquery.org/license
2020-12-10 14:06:04 +01:00
*/
//>>label: Transfer Effect
//>>group: Effects
//>>description: Displays a transfer effect from one element to another.
2025-02-28 08:42:11 +01:00
//>>docs: https://api.jqueryui.com/transfer-effect/
//>>demos: https://jqueryui.com/effect/
2020-12-10 14:06:04 +01:00
( function( factory ) {
2022-04-02 10:26:41 +02:00
"use strict";
2020-12-10 14:06:04 +01:00
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [
"jquery",
2025-02-28 08:42:11 +01:00
"../version",
"../effect"
2020-12-10 14:06:04 +01:00
], factory );
} else {
// Browser globals
factory( jQuery );
}
2022-04-02 10:26:41 +02:00
} )( function( $ ) {
"use strict";
2020-12-10 14:06:04 +01:00
var effect;
if ( $.uiBackCompat !== false ) {
effect = $.effects.define( "transfer", function( options, done ) {
$( this ).transfer( options, done );
} );
}
return effect;
2022-04-02 10:26:41 +02:00
} );