Closed JosiahParry closed 3 years ago
Update: specified the argument by name and it forced previous content. Perhaps the function can look like
glideControl <- function(previous_content = prevButton("Back"), next_content = nextButton("Next")) {
...
}
Yes, you're right, it's better to have default values in glideControls
so that you can redefine only one if needed.
This is fixed in the development version.
In attempting to modify only the lastButton, I am using
gliderControls()
. The function, however, fails indicatingError in dots_list(...) : argument "next_content" is missing, with no default
.In my server I have the below based on the vignette.