mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-10 07:28:01 -05:00
Enables markdown. Only observed one non-whitespace difference on a line
that had used backticks previously which were previously not being
parsed as a code block.
-explicitly using the `title` parameter of the top-level page function.
+explicitly using the \code{title} parameter of the top-level page function.
43 lines
1.3 KiB
R
43 lines
1.3 KiB
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/shiny.R
|
|
\name{outputOptions}
|
|
\alias{outputOptions}
|
|
\title{Set options for an output object.}
|
|
\usage{
|
|
outputOptions(x, name, ...)
|
|
}
|
|
\arguments{
|
|
\item{x}{A shinyoutput object (typically \code{output}).}
|
|
|
|
\item{name}{The name of an output observer in the shinyoutput object.}
|
|
|
|
\item{...}{Options to set for the output observer.}
|
|
}
|
|
\description{
|
|
These are the available options for an output object:
|
|
\itemize{
|
|
\item suspendWhenHidden. When \code{TRUE} (the default), the output object
|
|
will be suspended (not execute) when it is hidden on the web page. When
|
|
\code{FALSE}, the output object will not suspend when hidden, and if it
|
|
was already hidden and suspended, then it will resume immediately.
|
|
\item priority. The priority level of the output object. Queued outputs
|
|
with higher priority values will execute before those with lower values.
|
|
}
|
|
}
|
|
\examples{
|
|
\dontrun{
|
|
# Get the list of options for all observers within output
|
|
outputOptions(output)
|
|
|
|
# Disable suspend for output$myplot
|
|
outputOptions(output, "myplot", suspendWhenHidden = FALSE)
|
|
|
|
# Change priority for output$myplot
|
|
outputOptions(output, "myplot", priority = 10)
|
|
|
|
# Get the list of options for output$myplot
|
|
outputOptions(output, "myplot")
|
|
}
|
|
|
|
}
|