sliding between route transition angularjs

后端 未结 3 2026
后悔当初
后悔当初 2021-02-02 16:58

I\'ve only been working with Angular for about a week, so I apologize if my code is crap.

I\'m attempting to create a sliding action between route transitions. I can cre

3条回答
  •  后悔当初
    2021-02-02 17:46

    If you are using Angular 1.2.x then ngAnimate directive is no longer needed. Angular animate currently uses .ng-enter and .ng-leave as hooks to add your transformations. The below article I found very helpful in learning about the new way of doing animations in just the way youre trying to accomplish ( by animating the routes aka each partial that is inserted into the ngview directive).

    Animating AngularJS Apps: ngView

提交回复
热议问题