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

View source: R/elements.R

firstButtonR Documentation

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

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


shinyglide documentation built on Feb. 16, 2023, 9:18 p.m.