shinyglide (version 0.1.2)

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

Description

Create a glide control only shown on first or last screen

Usage

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

Run this code
# NOT RUN {
firstButton("Go to website", href = "https://example.com", class = "btn btn-primary")

# }

Run the code above in your browser using DataCamp Workspace