tiberiuzuld / angular-gridster2

Angular gridster 2
https://tiberiuzuld.github.io/angular-gridster2
MIT License
1.28k stars 376 forks source link

Gridster Item resize callback #918

Open rajasekar-pb opened 4 months ago

rajasekar-pb commented 4 months ago

Hello Team, I am using Gridster to create a dashboard containing various kinds of charts. I want the chart to resize continuously while handling the Gridster-item resize. I got all the resizing functionality (height / width) sorted out and the only thing i need is a callback function that triggers continuously during the Gridster-item resize event.

I found these calls (itemResizeCallback/itemChangeCallback, resizable.start/resizable.stop), but only trigger before or after the resize. Is there any other option?

AndeYashwanth commented 2 months ago

Use ResizeObserver provided by javascript.

rajasekar-pb commented 2 months ago

Use ResizeObserver provided by javascript.

Thanks @AndeYashwanth for the suggestion ... i just have one question ... does this callback works in angular/typescript environment ?...