Files
shiny/man/tabPanel.Rd
JJ Allaire cc261de37b remove condition attribute from tabPanel
the tab content visibility needs to be the union of data-display-if and whether the tab is active (the currenty implementation makes it always visible when data-display-if evaluates to true)
2013-12-07 17:16:02 -05:00

39 lines
890 B
R

\name{tabPanel}
\alias{tabPanel}
\title{Create a tab panel}
\usage{
tabPanel(title, ..., value = NULL)
}
\arguments{
\item{title}{Display title for tab}
\item{...}{UI elements to include within the tab}
\item{value}{The value that should be sent when
\code{tabsetPanel} reports that this tab is selected. If
omitted and \code{tabsetPanel} has an \code{id}, then the
title will be used..}
}
\value{
A tab that can be passed to \code{\link{tabsetPanel}}
}
\description{
Create a tab panel that can be included within a
\code{\link{tabsetPanel}}.
}
\examples{
# Show a tabset that includes a plot, summary, and
# table view of the generated distribution
mainPanel(
tabsetPanel(
tabPanel("Plot", plotOutput("plot")),
tabPanel("Summary", verbatimTextOutput("summary")),
tabPanel("Table", tableOutput("table"))
)
)
}
\seealso{
\code{\link{tabsetPanel}}
}