search

Home  >  Q&A  >  body text

angular.js - angularjs ui-router 的过渡动画

请问各位大神angularjs在使用ui-router,$state.go('')跳转的时候,有无好用的动画插件?

ngAnimate无效果... 

習慣沉默習慣沉默2743 days ago703

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-05-15 17:08:40

    I really didn’t know that routing has animations. . . . . I think it’s OK to write the animation to enter the page yourself if you want to jump. It’s impossible to use plug-ins for everything.

    reply
    0
  • ringa_lee

    ringa_lee2017-05-15 17:08:40

    https://github.com/homerjam/a... This should meet the requirements of the subject, but the person above is right. This function is not that complicated. Adding a plug-in feels a bit redundant. You can learn about the implementation of the plug-in. Try the method yourself, it will be good for your own improvement

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-15 17:08:40

    animate.css contains all css3 animations

    reply
    0
  • Cancelreply