Create a glide control only shown on first or last screen

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

firstButton("Go to website", href = "https://example.com", class = "btn btn-primary")
#> <a class="btn btn-primary first-screen" href="https://example.com">Go to website</a>