firstButton: Create a glide control only shown on first or last screen

Description Usage Arguments Details Examples

View source: R/elements.R

Description

Create a glide control only shown on first or last screen

Usage

1
2
3
firstButton(class = c("btn", "btn-default"), ...)

lastButton(class = c("btn", "btn-success"), ...)

Arguments

class

CSS classes of the control. The needed class is automatically added.

...

content of the control

Details

These controls generate an <a> tag, so you can use href attributes.

firstButton is only shown on the first screen of the app, and finalButton only on the last screen.

Examples

1
firstButton("Go to website", href = "https://example.com", class = "btn btn-primary")

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