You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an element that contains a element. The is updated every second with ajax and get's new details. It get's a number between 0-100 that is binded to the paper-progress to show the current value. I wanted to have the progress bar to change color according to the progress value. I tried things like:
<paper-progress id="prog">....
this.$.prog.querySelector("::shadow #activeProgress").style.backgroundColor = "some color here..."
and
this.$.prog.shadowRootquerySelector("#activeProgress").style.backgroundColor = "some color here..."
And nothing worked. It's like I didn't manage to really set the color or something was overriding my color choosing.
Is that some problem or did I do something wrong?
The text was updated successfully, but these errors were encountered:
I have an element that contains a element. The is updated every second with ajax and get's new details. It get's a number between 0-100 that is binded to the paper-progress to show the current value. I wanted to have the progress bar to change color according to the progress value. I tried things like:
and
And nothing worked. It's like I didn't manage to really set the color or something was overriding my color choosing.
Is that some problem or did I do something wrong?
The text was updated successfully, but these errors were encountered: