How do I get the background color from typescript file in angular and bind it to my html page?

后端 未结 2 962
暖寄归人
暖寄归人 2021-01-16 09:34

I have an array that is being populated in typescript and based on the value in the array, I want to set a different background color for my div but it\'s not working. What

2条回答
提交回复
热议问题