angular-gridster2 icon indicating copy to clipboard operation
angular-gridster2 copied to clipboard

api resize callback

Open jayoma opened this issue 9 years ago • 3 comments

Can you provide a callback hook for the this.options.api.resize() function, to be called after all debounced activities take place?

jayoma avatar Aug 03 '17 16:08 jayoma

Hi @jasonhendee , You have this.options.itemReisizeCallback you can set. You will get called every time a item resized. Or have a debounce in it to do your thing after the whole dashboard has resized.

To add a callback directly in the api call is tricky.

Let me know if you really need that.

Thanks

tiberiuzuld avatar Aug 03 '17 16:08 tiberiuzuld

@tiberiuzuld, understand. Thanks for your quick reply. I'll play around with a couple of alternative approaches, and let you know.

jayoma avatar Aug 03 '17 16:08 jayoma

@tiberiuzuld, I found a workaround for my issue. Thanks!

jayoma avatar Aug 03 '17 18:08 jayoma