Angular: How to change the color of cell table if condition is true

后端 未结 3 1868
情深已故
情深已故 2021-02-14 10:35

I have an object which has a variable called changeColor. In my html table I want to change the cell color if changeColor is true. I am using angular.<

3条回答
  •  情深已故
    2021-02-14 11:06

     {{daily.MTDCompSales | number:0}}
    

    This line of code changes based on data value, if data is positive or negative

提交回复
热议问题