How to listen in angular4 * whether the ngFor has finished traversing

< html >

<ion-list>
    <ion-item *ngFor="let i of list"></ion-item>
</ion-list>

< / html >

how do I listen to whether ngFof has finished traversing this array?


Why are you listening to this?


that should be called after the complete parsing of the ion-list component is completed. Execute it in the lifecycle hook. Which document to check may also be written in asynchronism


try the lifecycle function ionViewDidEnter .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ee0372-49871.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ee0372-49871.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?