calculateLayout' is private and only accessible within class 'GridsterComponent
naciriii opened this issue · 0 comments
naciriii commented
After upgrading from v 11 to v 14 I got this error while building,
I checked all releases changes but none mention this breaking change
How I'm using it:
@ViewChild(GridsterComponent) gridster: GridsterComponent;
ngOnInit(): void {
if (this.gridster) {
this.gridster.calculateLayout();
}
}
This change was introduced in v13.0.0 and probably it should 've been mentioned in the changelog,
Currently It's can be used like below
this.gridster.calculateLayout$.next()