@emamid/svelte-data-table 0.0.19 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DataTable.svelte +2 -0
- package/package.json +1 -1
package/dist/DataTable.svelte
CHANGED
|
@@ -206,11 +206,13 @@ const rowClicked = (item) => {
|
|
|
206
206
|
let draggedItem = null;
|
|
207
207
|
const rowDragStart = (item) => {
|
|
208
208
|
draggedItem = item;
|
|
209
|
+
console.log("dispatching rowDragStart ", item);
|
|
209
210
|
dispatch("rowDragStart", {
|
|
210
211
|
draggedItem
|
|
211
212
|
});
|
|
212
213
|
};
|
|
213
214
|
const rowDropped = (targetItem) => {
|
|
215
|
+
console.log("dispatching rowDropped ", targetItem);
|
|
214
216
|
dispatch("rowDropped", {
|
|
215
217
|
draggedItem,
|
|
216
218
|
targetItem
|