mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
* Update roxygen and regenerate. Mostly just whitespace changes and `code` -> `verb`. * R6 documentation for MockShinySession * Install roxygen from GH * % are now auto-escaped (We still need to go find the rest) * Fixed the ramining \% in roxygen Found looking for ^#'.*\\% in all R files, so I believe this is all of them. * Regenerate docs * Decreate indent in roxygen so paragraphs don't get interpreted as code blocks. https://github.com/r-lib/roxygen2/issues/948#issuecomment-546386172 * Namespace * Add MockShinySession reference to pkgdown. * Clean up test warnings * Export session
48 lines
1.3 KiB
R
48 lines
1.3 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/bootstrap.R
|
|
\name{htmlOutput}
|
|
\alias{htmlOutput}
|
|
\alias{uiOutput}
|
|
\title{Create an HTML output element}
|
|
\usage{
|
|
htmlOutput(
|
|
outputId,
|
|
inline = FALSE,
|
|
container = if (inline) span else div,
|
|
...
|
|
)
|
|
|
|
uiOutput(outputId, inline = FALSE, container = if (inline) span else div, ...)
|
|
}
|
|
\arguments{
|
|
\item{outputId}{output variable to read the value from}
|
|
|
|
\item{inline}{use an inline (\code{span()}) or block container (\code{div()})
|
|
for the output}
|
|
|
|
\item{container}{a function to generate an HTML element to contain the text}
|
|
|
|
\item{...}{Other arguments to pass to the container tag function. This is
|
|
useful for providing additional classes for the tag.}
|
|
}
|
|
\value{
|
|
An HTML output element that can be included in a panel
|
|
}
|
|
\description{
|
|
Render a reactive output variable as HTML within an application page. The
|
|
text will be included within an HTML \code{div} tag, and is presumed to
|
|
contain HTML content which should not be escaped.
|
|
}
|
|
\details{
|
|
\code{uiOutput} is intended to be used with \code{renderUI} on the server
|
|
side. It is currently just an alias for \code{htmlOutput}.
|
|
}
|
|
\examples{
|
|
htmlOutput("summary")
|
|
|
|
# Using a custom container and class
|
|
tags$ul(
|
|
htmlOutput("summary", container = tags$li, class = "custom-li-output")
|
|
)
|
|
}
|