Skip to content
Snippets Groups Projects

Resolve "Implement basic functionality"

Merged Julian requested to merge 1-implement-basic-functionality into main
2 files
+ 18
13
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 8
10
@@ -21,16 +21,14 @@ export default {
@@ -21,16 +21,14 @@ export default {
methods: {
methods: {
handleDragStart(event) {
handleDragStart(event) {
event.dataTransfer.setData(
event.dataTransfer.setData(
"vueDrag/gridItem",
"vueDrag/gridItem",
JSON.stringify(
JSON.stringify({
{
key: this.dragID,
key: this.dragID,
x: this.x,
x: this.x,
y: this.y,
y: this.y,
w: this.w,
w: this.w,
h: this.h,
h: this.h
})
}
)
);
);
},
},
},
},
Loading