Answer by Nithya Rajan for How to get last child *ngFor list of components
You can use *ngFor - last variable to check whether the element is the last element or not.if it's a last element of the loop then last variable will become true, so we can use [ngClass] to add/remove...
View ArticleHow to get last child *ngFor list of components
I got a component that is called users-list. Inside this component there is *ngFor of directory-user component.<directory-user-card *ngFor="let directoryUser of directoryUsers"...
View Article
More Pages to Explore .....