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"))

Arguments

class

control CSS classes. The needed class is automatically added.

Details

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().

See also

glide