Tuesday 15 July 2014

javascript - Ng-animate not working in AngularJS? -


I am using phonegap and accessories on a mobile app. I am currently developing and testing easily on a spatial Vampankarak.

I am trying to work on ng-animate my ng-view , to animate the idea of ​​similar to the mobile app Whichever guidelines I follow or whatever code I use, nothing happens at all. There is no error or animation.

Here's my current NG-view code:

    

And here are my current cgs for ng-anime:

 . View-enter, .view-leave {-webkit-transition: all cubic-beijier (0.250, 0.460, 0.450, 0.940) 0.5s; -Mozy-transition: all cube-beijier (0.250, 0.460, 0.450, 0.940) 0.5 s; -O-Infection: All Cubic Bezier (0.250, 0.460, 0.450, 0.940) 0.5 S; Infection: All cube-beijier (0.250, 0.460, 0.450, 0.940) 0.5 S; } .view-enter {opacity: 0; Left: 100px; Width: 100%; Status: Completed; }. View-enter.view-enter-active {left: 0; Opacity: 1; } .view-leave {Status: Completed; Left: 0; Width: 100%; Opacity: 1; }. View-leave.view-leave-active {left: -100px; Opacity: 0; }   

And yet, no errors or animations at all. Any ideas about what I am doing wrong or how I can work in animation? Thank you.

My problem was thanked to Michal Cherema ... I was on the latest stable version of AngularJS, 1.0.7, and only in unstable versions of NG-Animate. I downloaded it from 1.1.5 and the code above worked for animation immediately.

No comments:

Post a Comment