javascript - angular-animation怎么使数据加载后再进行动画?
为情所困
为情所困 2017-05-15 17:14:06
0
1
534

使用ngAnimation的ng-enter时,总是先进行动画,路由的数据要等动画执行完后才进来,不知怎么弄?

为情所困
为情所困

reply all(1)
洪涛

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!