Angular2: change route save view

I am currently trying to make a transition between routes, using host animations such as this [@routerTransition]does not work for me, because the animation is dynamic.

So, I'm looking for a way to prevent component destruction when changing routes, and when the animation is finished, the component should be destroyed.

There is not much in this matter, I suspect that I will have to expand the socket of the router and do magic there.

Can someone point me in the right direction, some links or even better examples would be great.

+4
source share

No one has answered this question yet.

Source: https://habr.com/ru/post/1673416/


All Articles