aboutsummaryrefslogtreecommitdiffstats
path: root/library/Sortable/entry/entry-defaults.js
diff options
context:
space:
mode:
authornobody <nobody@zotlabs.com>2021-08-25 19:13:31 -0700
committernobody <nobody@zotlabs.com>2021-08-25 19:13:31 -0700
commitaa2106f9495bee4dcf0701fbd9fec8de6fa44984 (patch)
treef2e7178f78311069bd54471f6c063c5901d16fb7 /library/Sortable/entry/entry-defaults.js
parent73b53675b1a339cfd950845279438e35b4e2dc7c (diff)
parent6261d0826c49ca24df9f694931592fbb9bf60f7e (diff)
downloadvolse-hubzilla-aa2106f9495bee4dcf0701fbd9fec8de6fa44984.tar.gz
volse-hubzilla-aa2106f9495bee4dcf0701fbd9fec8de6fa44984.tar.bz2
volse-hubzilla-aa2106f9495bee4dcf0701fbd9fec8de6fa44984.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core 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
+};