mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-02 10:45:06 -05:00
20 lines
583 B
R
20 lines
583 B
R
% Generated by roxygen2 (4.0.0): do not edit by hand
|
|
\name{singleton}
|
|
\alias{singleton}
|
|
\title{Include Content Only Once}
|
|
\usage{
|
|
singleton(x)
|
|
}
|
|
\arguments{
|
|
\item{x}{A \code{\link{tag}}, text, \code{\link{HTML}},
|
|
or list.}
|
|
}
|
|
\description{
|
|
Use \code{singleton} to wrap contents (tag, text, HTML, or lists) that should
|
|
be included in the generated document only once, yet may appear in the
|
|
document-generating code more than once. Only the first appearance of the
|
|
content (in document order) will be used. Useful for custom components that
|
|
have JavaScript files or stylesheets.
|
|
}
|
|
|