Change bootstrap progress-bar width from angularjs

后端 未结 5 1707
臣服心动
臣服心动 2020-12-09 04:20

I\'m new in Angularjs and I am trying to update the width of a progress bar when a value in my controller change.

I have something like:



        
5条回答
  •  悲&欢浪女
    2020-12-09 04:58

    ng-style directive would do the trick.

    $ {{getTotal()}} ({{getPercentage()}}%)
    
    {{getPercentage()}}% Complete (warning)

提交回复
热议问题