nextButton | R Documentation |
This generates the code of the default controls, and can be used in custom controls.
nextButton(class = c("btn", "btn-primary")) prevButton(class = c("btn", "btn-default"))
class |
control CSS classes. The needed class is automatically added. |
prevButton
is hidden on the first screen, while nextButton
is hidden on
the last one.
The buttons labels are set with the next_label
and previous_label
arguments of glide()
.
glide
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.