AngularJS: How to animate ng-repeat on load using ng-animate

前端 未结 3 1116
遥遥无期
遥遥无期 2021-02-08 05:14

Folks!

How can I get the divs created using ng-repeat to slide down..I mean grow in size ON LOAD.

I want to achieve this using ng-animate

3条回答
  •  萌比男神i
    2021-02-08 06:12

    Can you look below url example of nganimate in ng-repeat:

    http://www.nganimate.org/angularjs/ng-repeat/move

    If you are using latest version of Angularjs you need to inject 'ngAnimate' in your app and also need to added dependent js file that is "angular-animate.min.js"

提交回复
热议问题