aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/entry/entry-defaults.js
diff options
context:
space:
mode:
authormjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
committermjfriaza <mjfriaza@disroot.org>2022-05-17 13:44:06 +0200
commita75c61d71efebf43713026200aa0f513bd7eef09 (patch)
tree909048adeaa329813e2530d43626ed3bd711bc25 /library/Sortable/entry/entry-defaults.js
parent481ecee9e87342ca7a1217395085e95d1a3b61ea (diff)
parent0d0f73fb67bbfcc53058cefded85ac36f951c7a7 (diff)
downloadvolse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.gz
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.tar.bz2
volse-hubzilla-a75c61d71efebf43713026200aa0f513bd7eef09.zip
Merge remote-tracking branch 'upstream/dev' into dev
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
+};