General.Web/wwwroot/lib/fileinput/5.0.3/js/plugins/sortable.js
(开头部分) 37KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**!
* KvSortable
* @author RubaXa <trash@rubaxa.org>
* @license MIT
*
* Changed kvsortable plugin naming to prevent conflict with JQuery UI Sortable
* @author Kartik Visweswaran
*/
(function kvsortableModule(factory) {
"use strict";
if (typeof define === "function" && define.amd) {
define(factory);
}
else if (typeof module != "undefined" && typeof module.exports != "undefined") {
module.exports = factory();
}
else {
/* jshint sub:true */
window["KvSortable"] = factory();
}
})(function kvsortableFactory() {
"use strict";
if (typeof window === "undefined" || !window.document) {
return function kvsortableError() {
throw new Error("KvSortable.js requires a window with a document");
};
}
var dragEl,
parentEl,
ghostEl,
cloneEl,
rootEl,
nextEl,
lastDownEl,
scrollEl,
scrollParentEl,
scrollCustomFn,
lastEl,
lastCSS,
lastParentCSS,
oldIndex,
newIndex,
activeGroup,
putKvSortable,
autoScroll = {},
tapEvt,
touchEvt,
moved,
后面还有 1530 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
