javascript - High CPU when I use progressbar in angular -
i have such high cpu when i'm lauchnig page 2 progressbar ...
i checked , deleted them , site faster.
this snippet of progressbar :
<progressbar class="progress-danger progress-striped active" value="procentvalueemail" name = "domains_emails_search"> <span class="badge badge-info-rev" n> {{procentvalueemail | number:1}}% </span> </progressbar>
i'm using angularjs, procentvalueemail cosnstance value.
any idea how can use progressbar in angualar without lags ? lib
<script src="static/bower_components/angular-bootstrap/ui-bootstrap.min.js"></script> <script src="static/bower_components/angular-bootstrap/ui-bootstrap-tpls.js"></script>
in html markup have class set 'active'. class cause redraws switches on animations aren't visible.
<progressbar class="progress-danger progress-striped" value="procentvalueemail" name = "domains_emails_search">
remove class , not have performance issue.
Comments
Post a Comment