nextButton: Code for the default controls

Description Usage Arguments Details See Also

View source: R/elements.R

Description

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

Usage

1
2
3
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


shinyglide documentation built on June 11, 2021, 5:15 p.m.