Closed JulianoAtto closed 1 year ago
By using shinyglide control options you wouldn't be able to put such a control outside of screen()
. As far as I know the only other way to do it would be in pure Javascript, but that would mean being able to get back an already mounted glide
object and I'm not sure the glide.js API allows to do it...
Ok, thanks. I'll find another way to do this
Hi,
I want to create a button that is positioned outside the shinyglide::screen's() that enables the user to reset the glide at any moment (any screen). One of the main requirements to reset is to send the user to the first screen.
I tried to use the code below but it only works inside some
shinyglide::screen()
and besides that I need it to be ashiny::actionButton()
so that I canshiny::observeEvent()
and execute other needed actions in my app during the reset.Also I checked the glide.js documentation and noticed that there is the following code that sends the user to the initial screen:
Is there any workaround to run this javascript code to control the
shinyglide::glide()
inside anshiny::observeEvent()
?