buttonBlock: Create a block-level button container

Description Usage Arguments Details Examples

Description

Creates a full-width container for one or more buttons. The horizontal space will be evenly divided among any buttons that are added.

Usage

1
buttonBlock(..., border = "top")

Arguments

...

One or more actionButton or downloadButton objects.

border

Zero or more of c("top", "bottom"), indicating which sides should have borders, if any.

Details

When using buttonBlock with a tabstripPanel, consider passing the buttonBlock to tabstripPanel as the between argument.

Examples

1
2
3
4
5
6
library(shiny)

buttonBlock(
  actionButton("reset", "Reset to defaults"),
  actionButton("clear", "Clear all")
)

rstudio/shinygadgets documentation built on May 28, 2019, 7:54 a.m.