aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/entry
diff options
context:
space:
mode:
Diffstat (limited to 'library/Sortable/entry')
-rw-r--r--library/Sortable/entry/entry-complete.js8
-rw-r--r--library/Sortable/entry/entry-core.js19
-rw-r--r--library/Sortable/entry/entry-defaults.js19
3 files changed, 46 insertions, 0 deletions
diff --git a/library/Sortable/entry/entry-complete.js b/library/Sortable/entry/entry-complete.js
new file mode 100644
index 000000000..bf3dc5c13
--- /dev/null
+++ b/library/Sortable/entry/entry-complete.js
@@ -0,0 +1,8 @@
+import Sortable from './entry-defaults.js';
+import Swap from '../plugins/Swap';
+import MultiDrag from '../plugins/MultiDrag';
+
+Sortable.mount(new Swap());
+Sortable.mount(new MultiDrag());
+
+export default Sortable;
diff --git a/library/Sortable/entry/entry-core.js b/library/Sortable/entry/entry-core.js
new file mode 100644
index 000000000..b5c3f77f7
--- /dev/null
+++ b/library/Sortable/entry/entry-core.js
@@ -0,0 +1,19 @@
+import Sortable from '../src/Sortable.js';
+import AutoScroll from '../plugins/AutoScroll';
+import OnSpill from '../plugins/OnSpill';
+import Swap from '../plugins/Swap';
+import MultiDrag from '../plugins/MultiDrag';
+
+export default Sortable;
+
+export {
+ Sortable,
+
+ // Default
+ AutoScroll,
+ OnSpill,
+
+ // Extra
+ Swap,
+ MultiDrag
+};
diff --git a/library/Sortable/entry/entry-defaults.js b/library/Sortable/entry/entry-defaults.js
new file mode 100644
index 000000000..9d3fb6830
--- /dev/null
+++ b/library/Sortable/entry/entry-defaults.js
@@ -0,0 +1,19 @@
+import Sortable from '../src/Sortable.js';
+import AutoScroll from '../plugins/AutoScroll';
+import { RemoveOnSpill, RevertOnSpill } from '../plugins/OnSpill';
+// Extra
+import Swap from '../plugins/Swap';
+import MultiDrag from '../plugins/MultiDrag';
+
+Sortable.mount(new AutoScroll());
+Sortable.mount(RemoveOnSpill, RevertOnSpill);
+
+export default Sortable;
+
+export {
+ Sortable,
+
+ // Extra
+ Swap,
+ MultiDrag
+};