Working with arrays
Example usage from core table layout
this.propBuilder.onItemsSet
.pipe(takeUntil(this.ngUnsubscribe))
.subscribe(() => {
this.detectChanges();
});
this.propBuilder.onItemAdd
.pipe(takeUntil(this.ngUnsubscribe))
.subscribe(() => {
this.detectChanges();
});
this.propBuilder.onItemRemove
.pipe(takeUntil(this.ngUnsubscribe))
.subscribe(() => {
this.detectChanges();
});Last updated
Was this helpful?