update @HostBinding Angular 4 Animation
问题 I am trying to get animation between routes working in an Angular 4 project - but need to be able to alter the direction of the animation (translateX) based on the way the user is navigating through the app. I have discovered that the only way to keep both the entering and exiting components in the DOM is to use void state. Also, I have to bind the animation to the host element. If I try and bind it to an element within the component the exiting component is just replaced with the entering