aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/entry/entry-defaults.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-08-03 07:12:36 +0000
committerMario <mario@mariovavti.com>2021-08-03 07:12:36 +0000
commit08f70c49f8a43cf806f8ca28e9b6c3b7823522b4 (patch)
treef24595d659adbb7d1e5d2e8e6dcd829b093887bb /library/Sortable/entry/entry-defaults.js
parent571bae9d1c07bb08270163a314c91c138b42e62f (diff)
parentcddc0217724f1a7661014d50e4c940e623a0c2dc (diff)
downloadvolse-hubzilla-08f70c49f8a43cf806f8ca28e9b6c3b7823522b4.tar.gz
volse-hubzilla-08f70c49f8a43cf806f8ca28e9b6c3b7823522b4.tar.bz2
volse-hubzilla-08f70c49f8a43cf806f8ca28e9b6c3b7823522b4.zip
Merge branch 'app-bin-ng' into 'dev'
Apps drag and drop feature See merge request hubzilla/core!1982
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
+};