-
Notifications
You must be signed in to change notification settings - Fork 382
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
add a validation callback on item/grid to be called inside checkColission #293
Comments
Hi @Chibas , About aspect ratio: |
We have a similar situation where we have dial graph widgets in the mix that should only be square. We did the following to the code (sorry) - this is for AngularJS:
I am not sure this is the best way but it got us over non-square dial graphs. |
Hmm, interesting, maybe is better to add a validation callback on item/grid to be called inside checkColission. |
Added in v5.3.0 |
Hello. Is there a way to keep aspect ratio of my grid items?
I've tried something like
`static itemResize(item: GridsterItem, itemComponent: GridsterItemComponentInterface) {
}`
But that did not affect anything at all. Can i directly set resizable item dimensions on the go?
The text was updated successfully, but these errors were encountered: