Closed chriswoodward5 closed 3 years ago
Thanks for opening this issue. I’ll check this behavior when I return from vacation next week.
To change the style of <p>
use this syntax
names_slides_dom <- slick_list(lapply(df$name,function(x) htmltools::tags$p(x,style = htmltools::css(color='red','font-style' = 'italic'))))
names_slides <- slickR(names_slides_dom)
for the multiple synch try this new commit https://github.com/yonicd/slickR/commit/403bb7af15ac117265e9fc1a91b578a8d4135297
Thank you so much! This works now!
I am using the slickR package in R for a Shiny app and am looking to synch 3 carousels, as well as trying to change the color of the text (default is a blue, trying to change to black).
The three carousels to be synched are: Text above the image Image Text below the image
Creating a simple example, trying to use nested parentheses, but this doesn't work.
When I try this, when clicking the left and right arrows, the images and player names update correctly, but the carousel positions (top text) do not. It just remains 1-5. Is there a way to synch 3 carousels?
Also, as I mentioned, I am looking to change the color of the text from the default blue to black. Is there a way to do this? I am pretty well-versed in R, but do not know much CSS and Javascript.
Thanks a lot!