Learn R Programming

miniUI (version 0.1.1.1)

miniButtonBlock: Create a block-level button container

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

miniButtonBlock(..., 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 miniButtonBlock with a miniTabstripPanel, consider passing the miniButtonBlock to miniTabstripPanel as the between argument.

See Also

For more information, see the Designing Gadget UI article on shiny.rstudio.com.

Examples

Run this code
# NOT RUN {
library(shiny)

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

# }

Run the code above in your browser using DataLab