ng-style用法

我想給ng-style傳一個controller裏面的變量,折騰了半天,引號不能忘web ng-style="{'background-color':'{{markColor}}'}" Since some CSS style names are not valid keys for an object, they must be quoted. See the ‘background-color
相關文章
相關標籤/搜索