homerjam / angular-ui-router-anim-in-out

An animation directive to use with ngAnimate 1.2+ and ui-router
http://homerjam.github.io/angular-ui-router-anim-in-out/
234 stars 49 forks source link

Can you make the in and out transitions different? #26

Open northkode opened 7 years ago

northkode commented 7 years ago

Is there a way to make the in and the out transitions different? So something could slide in from the right but then slide out back to the right when it leaves like a menu drawer?

homerjam commented 7 years ago

Sure - you should be able to do this with a conditional class (ngClass). Also checkout angular-gsapify-router for more fine grained control of transitions.

On 1 Apr 2017 11:02, "northkode" notifications@github.com wrote:

Is there a way to make the in and the out transitions different? So something could slide in from the right but then slide out back to the right when it leaves like a menu drawer?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/homerjam/angular-ui-router-anim-in-out/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAcGSJPQbDzyMLjC6BFvwA0tWLMIGl3ks5rrmb-gaJpZM4Mwg10 .