Im trying to change the background color and text color of a modal dynamically based on the content being retrieved. I’m trying to add a dynamic attribute: style, name: background-color and then value: #fff. Is that right? doesn’t seem to work.
that does work but can I use style? I have about 13 different colors based on the value of the data so only want to have one style statement rather then 13 class toggles.