Answer the question
In order to leave comments, you need to log in
How to render ngFor output one by one?
In general, I display posts through ngFor. I would like to do a setTimeout for each post. so far it has been done for everyone.
plnkr.co/edit/oz71BFDAeeTwjwW5zqEY?p=preview
Answer the question
In order to leave comments, you need to log in
rxjs version plnkr.co/edit/XYUgjcUOWYRsl03puhhR?p=preview
Angular animation version plnkr.co/edit/u3XUMtdgFFB8EWcv6AL9?p=preview
First, you are using an outdated version of Angular - the latest version compiles and builds on the built-in local node.js server.
I did not quite understand about setTimeout - where, why and why. Alternatively, each post can be made a separate component and a timeout can be run in the class of this component (OnInit).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question