juba / shinyglide

Glide.js component for Shiny apps
https://juba.github.io/shinyglide/
91 stars 8 forks source link

Provide shiny input IDs for first and lastbutton #16

Closed JosiahParry closed 3 years ago

JosiahParry commented 3 years ago

I'd like to be able to know if the modal pop up has been closed. It appears that there is no way to provide an input ID of some sort to the lastbutton. I'd like this to be able to submit values from the pop up after clicking submit.

juba commented 3 years ago

I'm not sure what precisely your request is here. Do you want to just add an id argument to your last button ? I think it is possible with the lastButton function :

lastButton(id = "foo")