Reputation: 41
I am trying to add animation to a text content which appends dynamically. I need to apply animation to each incoming text, keeping the already added text stable
Upvotes: 0
Views: 52
Reputation: 41
Push the text content to an array. You can try ngClass and match the index with the last element using ternary operator, apply the animation to the matching span.
Upvotes: 1