문제

Check out this plnkr where I'm trying to combine both ng-animate and ng-table:

http://plnkr.co/edit/EfZF5oWb9qzGvOIbAhtX?p=preview

As you can see, I have injected both directives into the scope, and I have the CSS for the animations in style.css, but for some reason there isn't any animations happening... anyone know what I'm doing wrong here? (There isn't any errors in the console currently) Any help would be really appreciated!

Thanks,

Mike

도움이 되었습니까?

해결책

The animation class should be put on the same element as the ngRepeat directive:

<tr ng-repeat="user in $data" class="animate">
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top