Angular 2 RC2 just came out and I am wondering whether it already supports staggered animations for *ngFor
? The DSL language documentation mentions group
and sequence
but no stagger of any kind?
Is staggered animation not included in RC2?
Angular 2 RC2 just came out and I am wondering whether it already supports staggered animations for *ngFor
? The DSL language documentation mentions group
and sequence
but no stagger of any kind?
Is staggered animation not included in RC2?
They are working on it, as we can see here: https://www.youtube.com/watch?v=Hr4IKlr9mhg&feature=youtu.be&t=10m50s
But I think it was not released yet... We need to wait a little more :-(
Here there is the examples that we see in the video... but I don't know if this is a stable version... at your own risk https://github.com/matsko/ng-conf-demos
I'm not sure if I agree with Günter that the ng-conf features are in the newest RC.3 or for that matter in the RC.4 release. A stagger feature would be excellent but as of current that doesn't look like it's slated for RC.5. It will definitely be in the
Angular 2 Final
release as you can see on this animation tracking ticket. With that being said though I did create a workaround for my application I would be willing to share. There might be an easier approach but this works:Like I said maybe not the simplest way but it works for me. Hope it helps you!
*HELPER: What is the JavaScript version of sleep()?