File: miniButtonBlock.Rd

package info (click to toggle)
r-cran-miniui 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 200 kB
  • sloc: makefile: 2
file content (38 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layout.R
\name{miniButtonBlock}
\alias{miniButtonBlock}
\title{Create a block-level button container}
\usage{
miniButtonBlock(..., border = "top")
}
\arguments{
\item{...}{One or more \code{\link[shiny:actionButton]{shiny::actionButton()}} or
\code{\link[shiny:downloadButton]{shiny::downloadButton()}} objects.}

\item{border}{Zero or more of \code{c("top", "bottom")}, indicating which
sides should have borders, if any.}
}
\description{
Creates a full-width container for one or more buttons. The horizontal space
will be evenly divided among any buttons that are added.
}
\details{
When using \code{miniButtonBlock} with a \code{miniTabstripPanel}, consider
passing the \code{miniButtonBlock} to \code{miniTabstripPanel} as the
\code{between} argument.
}
\examples{
library(shiny)

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

}
\seealso{
For more information, see the
\href{http://shiny.rstudio.com/articles/gadget-ui.html}{Designing Gadget UI}
article on shiny.rstudio.com.
}