shinyglide (version 0.1.4)

glideControls: Default controls layout

Description

Creates an horizontal layout with both "previous" and "next" contents side by side.

Usage

glideControls(previous_content = prevButton(), next_content = nextButton())

Arguments

previous_content

Content of the "previous" (left) zone.

next_content

Content of the "next" (right) zone.

Examples

Run this code
glideControls(
  prevButton("Back"),
  list(
    lastButton(href = "https://example.com", "Go to website"),
    nextButton("Next")
  )
)

Run the code above in your browser using DataLab