63317337

Date: 2020-08-08 16:54:39
Score: 6
Natty:
Report link

you could try ngStyle ... however most of the time you will need to run Sanitizer on the data: https://angular.io/api/platform-browser/DomSanitizer

here is another question that should be similar: Angular - How do I sanitize a style inside a plain typescript class?

Reasons:
  • Blacklisted phrase (1): another question
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tim.Burnell