Create a glide control only shown on first or last screen
firstButton(class = c("btn", "btn-default"), ...)lastButton(class = c("btn", "btn-success"), ...)
lastButton(class = c("btn", "btn-success"), ...)
CSS classes of the control. The needed class is automatically added.
content of the control
These controls generate an <a> tag, so you can use href attributes.
<a>
href
firstButton``is only shown on the first screen of the app, and finalButton` only on the last screen.
firstButton``is only shown on the first screen of the app, and
# NOT RUN { firstButton("Go to website", href = "https://example.com", class = "btn btn-primary") # }
Run the code above in your browser using DataCamp Workspace