vue-grid-layout
vue-grid-layout copied to clipboard
dragEvent
this.$refs.gridLayout.dragEvent('dragend', DragPos.i, DragPos.x, DragPos.y, 1, 1);
where is the dragEvent?
this.$refs.gridLayout.dragEvent('dragend', DragPos.i, DragPos.x, DragPos.y, 1, 1);
where is the dragEvent?
If you have uncommented the end of the code the ref is wrong, its supposed to be gridlayout(with a small L), iv'e spent 2 days trying to find why i got an error message that said cant read dragEvent of undefined.
There are 2 wrong line , just change gridLayout => gridlayout Thank you larssonted86