angular animation stagger with random delay

I am trying to display multiple divs inside an *ngFor loop using a stagger blink animation. To achieve a kind of glitching effect, i’d want the stagger animation delay between each loop to be a random number between 0.5s to 1s trigger(‘stagger’, [ transition(‘* => *’, [ query(‘:enter’, [ style({ opacity: 0 }), stagger((Math.random() * […]

By Kais Ezzine
Published
Categorized as angular, animation, typescript Tagged , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq