i'm having the following problem:

I have created a grid component which uses a binary packing script (packery by metafizzy) to fit its child blocks depending on their size.

To improve the editing experience I also implemented it in the backend/editor, only problem is that I need to call an update method when the user rearranges the grid-items via drag and drop or the move-up/down buttons. By calling it inside of the edit function it only updates on de-/selection of the component or when I actually change an attribute, etc.

So is there an event or anything that my grid-component can listen/subscribe to, to call the update method whenever its child items are rearranged.

Any help solutions or pointers to any helpful documentation on this, would be appreciated.

kind regards Christian

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.