glideControls: Default controls layout

Description Usage Arguments Examples

View source: R/elements.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
glideControls(
  prevButton("Back"),
  list(
    lastButton(href = "https://example.com", "Go to website"),
    nextButton("Next")
  )
)

shinyglide documentation built on June 11, 2021, 5:15 p.m.