I am using a 3rd party component that has a public array variable. When the component is first initialized the array has zero length. It it then filled in by some external rest call and each element of the array is rendered as a div in the view. I would like to detect when the rendering of the array elements is finished and do something.
I have tried NgOnChanges but it is never fired when the array changes.
I have also tried NgDoCheck on an IterableDiffers which seems to be fired before and after the array changed, i.e. before and after the array elements have been rendered.
I imagine this sort of thing should be possible?
In my component I reference the 3rd part omponent like
@ViewChild("acontainer") tablec: TableComponent;
This component then has an array which I can access with
this.tablec.dataArray
it is this array that I want to monitor.