I'm trying to use shinyjs to programmatically change the color of an attendant progress bar. I am able to successfully change the background color and the border color, but not the progress bar color itself. I suspect this is because the id associated with the progress bar div is a wrapper around the progress bar div itself. This div does not have an id and the color I'm assigning to the outer div is overwritten by the inner div.
This is the html source of a sample progress bar, showing the outer and inner divs, where "my_progress_bar" is the ID that I specify for the attendant. I think if there was an ID for the inner div, I'd be able to accomplish what I'm trying to do with shinyjs.
I'm trying to use
shinyjs
to programmatically change the color of anattendant
progress bar. I am able to successfully change the background color and the border color, but not the progress bar color itself. I suspect this is because the id associated with the progress bar div is a wrapper around the progress bar div itself. This div does not have an id and the color I'm assigning to the outer div is overwritten by the inner div.This is the html source of a sample progress bar, showing the outer and inner divs, where
"my_progress_bar"
is the ID that I specify for theattendant
. I think if there was an ID for the inner div, I'd be able to accomplish what I'm trying to do withshinyjs
.Thanks!