Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gridster Item resize callback #918

Open
rajasekar-pb opened this issue Jun 27, 2024 · 2 comments
Open

Gridster Item resize callback #918

rajasekar-pb opened this issue Jun 27, 2024 · 2 comments

Comments

@rajasekar-pb
Copy link

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
Copy link
Contributor

Use ResizeObserver provided by javascript.

@rajasekar-pb
Copy link
Author

Use ResizeObserver provided by javascript.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants