📅  最后修改于: 2022-03-11 15:03:57.133000             🧑  作者: Mango
Renderer is deprecated, so Renderer.setElementStyle was changed to Renderer2.setStyle
ex:
```
this.renderer.setStyle(this.ele.nativeElement, 'background-color', this.customColor)
```