shinyglide (version 0.1.2)

nextButton: Code for the default controls

Description

This generates the code of the default controls, and can be used in custom controls.

Usage

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