Closed stanogurnik closed 6 years ago
@dattn can you please look at this ?
There is already an "update:layout" event. Which could be used for layout saving ?
Yes and no. Update layout is called every time some item is moved on grid, so simple drag of object generates x events (if item moves from x:1 -> x:5 it generates 5 events during this user action), but you want to save state when relevant - so when user stops dragging.
Ah, you are right.
Could you add the same/related events for resizing ?
Sure :) will do during weekend, thanx
@dattn can you please look at this ?
Sorry, i'm really busy at the moment. But your pull request looks good, I will release a new version today.
Adding drag events to container:
Specially
drag:end
event is useful when saving state of layout to server