refactor edit and edges
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
export let sortableClass = "";
|
||||
// export let handle;
|
||||
export let isTable = false;
|
||||
export let sortableInstance;
|
||||
export let sortableInstance = null;
|
||||
const dispatch = createEventDispatcher();
|
||||
let sortableContainer;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
easing: "cubic-bezier(1, 0, 0, 1)",
|
||||
onUpdate: function (/**Event*/ evt) {
|
||||
// reorder(evt.oldIndex,evt.newIndex);
|
||||
console.log(evt)
|
||||
// console.log(evt)
|
||||
dispatch("update", {
|
||||
source: evt.oldIndex,
|
||||
target: evt.newIndex,
|
||||
|
||||
Reference in New Issue
Block a user