mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-13 17:08:05 -05:00
32 lines
880 B
R
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"))
|
|
}
|
|
|