質問

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