On resizable.stop event callback we receive GridsterItem as a first argument, however data is outdated.
Is that perhaps by design?
resizable.stopGridsterItemGridsterItemHi @klemenoslaj ,
Second argument gridsterItem.$item has the new values.
The first argument still has the old values because in stop you can cancel the resize.
Hi @tiberiuzuld,
thanks for the quick answer.
I could have looked a little bit better and saw that GridsterItemComponent indeed have public item :( sorry.
Maybe small suggestion then:
Does it makes sense to add more strict function types to GridBase in gridsterConfig.interface.d.ts?
e.g. start?(item: GridsterItem, itemComponent: GridsterItemComponent, event: MouseEvent): void;
Hmm yes maybe should add the parameters to functions.
Will do.
Thanks
Added in 4.4.0