1: Is there a way to fix the x, y, w, h values of grid-item?
I do not want to change the position of another grid-item by dragging it.
2: If a collision occurs during dragging, can I receive an event?
I want to invalidate the drag event when it crashes.
1: You can set the "static" option to "true"
{ x: 1, y: 1, w: 2, h: 2, i: '2x2', static: true}
No events are fired on collisions
No
Thanks @gmsa
Could I ask if can support both cases?
Not planning to implement either case, feel free to submit a PR