Using Angular 2 Animate (RC2), using official documents and the code used by Matias in the month of ng-conf to watch videos on the YT channel.
Everything works for me, except for the most important part:
It seems I can’t get away from the transition / transition animation when changing the routerlinks / components. Using '* => void' does nothing. The router destroys the components, ignoring the animated transition, and introduces a new router / component.
I get input animation for work, but not outgoing.
I assume that the router does not automatically detect that there is residual animation for the component (something similar to ng-leave ng-leave-active), and thus I am missing a step that is not preferred.
All plunker examples, official and ng-conf Matias, show all without any router interactions: all I / O states and transition examples are in the same component.
** Edit::: [Plunker Demo Here] http:
You will notice that even if the transitions '* => void' are specified, changing the router link completely ignores it
There are still no posts in ng2 animate, so this is the only way.
Thank you for reading this time. Appreciate the help.
angular ng-animate
Veljko Simakovic
source share