Files
shiny/man/textOutput.Rd
Joe Cheng dde266768c Restore HTML generating functions
These functions were temporarily ripped out of Shiny and moved
to the htmltools package. We've discovered that it's safe to
keep including them in shiny; as long as the functions in shiny
and the functions in htmltools are identical, the user won't
receive a conflict warning.
2014-05-31 08:06:03 -07:00

28 lines
708 B
R

% Generated by roxygen2 (4.0.1): do not edit by hand
\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"))
}