Questions tagged [slickr]

slick carousel htmlwidget for R

GitHub: https://github.com/yonicd/slickR

Vignettes: https://cran.r-project.org/web/packages/slickR/vignettes/

20 questions
1
vote
1 answer

R Shiny: slickR select event

The slickR package has a focusOnSelect option - when clicking on an image in the carousel, it is highlighted. How can I access the selection event to use in R Shiny to trigger other actions? Specifically, I want to click on an image and have it…
Vlad
  • 3,058
  • 4
  • 25
  • 53
1
vote
0 answers

htmlwidget leaflet maps do not render in slickR carousel

I am attempting a slickR carousel using leaflet htmlwidgets instead of images. I am following the https://metrumresearchgroup.github.io/slickR/ 'htmlwigets' section. When I execute the following code, the carousel is blank for each slide.…
dwiz
  • 410
  • 3
  • 16
0
votes
0 answers

Set `.center_slide` in slickR to 1 if null

I have a shiny app and I am using slickR. I need to access input$slickr_current$.center to get the current index for an image so that I can use it to create inputs based on the index. This value doesn't populate until you click the slickR slideshow.…
Mike
  • 3,797
  • 1
  • 11
  • 30
0
votes
1 answer

Adjust space between chevron and slide using slickR

I am using Rmarkdown and slickR to create a carousel of images. How do I adjust the space between the left chevron and the left edge of the slide? --- title: Carousel test --- Here is a carousel ```{r, label='HIS-table', echo=FALSE,…
ixodid
  • 2,180
  • 1
  • 19
  • 46
0
votes
0 answers

Error in : object of type 'closure' is not subsettable slickR

Getting the Error in : object of type 'closure' is not subsettable error when trying to use slickR to output a slideshow for multiple inputs, how can I solve this? observeEvent(input$imagepreview, { output$x <- renderImage({ if…
1
2