Show loading animation for slowscript using AngularJS?

前端 未结 8 553
野的像风
野的像风 2020-12-24 12:08

In angularjs 1.2 operations like filtering an ng-repeat with many rows (>2,000 rows) can become quite slow (>1 sec).
I know I can optimize execution times u

8条回答
  •  情话喂你
    2020-12-24 12:34

    Use spin.js and the site http://fgnass.github.com/spin.js/ shows the step which is quite easy. the loading animation is in CSS which separated from the UI thread and therefore loaded smoothly.

提交回复
热议问题