search

Home  >  Q&A  >  body text

javascript - How does angular-animation animate after data is loaded?

When using ngAnimation's ng-enter, the animation is always performed first, and the routed data comes in after the animation is completed. I don't know how to do it?

为情所困为情所困2873 days ago626

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-15 17:16:06

    You can add an ng-if to load the DOM when there is data. This should ensure that there is data when the animation is executed

    reply
    0
  • Cancelreply