Files
shiny/man/textOutput.Rd
Yihui Xie 06d2df8211 fixes #90: textOuput() can be put in any tag now
for the example, we use <span>, which is allowed in <h3>
2014-01-10 20:54:28 -06:00

29 lines
675 B
R

\name{textOutput}
\alias{textOutput}
\title{Create a text output element}
\usage{
textOutput(outputId, container = div)
}
\arguments{
\item{outputId}{output variable to read the value from}
\item{container}{a function to generate an HTML element
to contain the text}
}
\value{
A text output element that can be included in a panel
}
\description{
Render a reactive output variable as text within an
application page. The text will be included within an
HTML \code{div} tag by default.
}
\details{
Text is HTML-escaped prior to rendering. This element is
often used to display \link{renderText} output variables.
}
\examples{
h3(textOutput("caption"))
}