Files
shiny/man/textOutput.Rd
2015-12-02 15:43:25 -06:00

32 lines
880 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bootstrap.R
\name{textOutput}
\alias{textOutput}
\title{Create a text output element}
\usage{
textOutput(outputId, container = if (inline) span else div, inline = FALSE)
}
\arguments{
\item{outputId}{output variable to read the value from}
\item{container}{a function to generate an HTML element to contain the text}
\item{inline}{use an inline (\code{span()}) or block container (\code{div()})
for the output}
}
\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"))
}