aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/entry/entry-defaults.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/Sortable/entry/entry-defaults.js')
-rw-r--r--library/Sortable/entry/entry-defaults.js19
1 files changed, 19 insertions, 0 deletions
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
+};