outputOptions

0th

Percentile

Set options for an output object.

These are the available options for an output object:

  • suspendWhenHidden. When TRUE (the default), the output object will be suspended (not execute) when it is hidden on the web page. When FALSE, the output object will not suspend when hidden, and if it was already hidden and suspended, then it will resume immediately.
  • priority. The priority level of the output object. Queued outputs with higher priority values will execute before those with lower values.

Usage
outputOptions(x, name, ...)
Arguments
x
A shinyoutput object (typically output).
name
The name of an output observer in the shinyoutput object.
...
Options to set for the output observer.
Aliases
  • outputOptions
Examples
## Not run: 
# # 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")
# ## End(Not run)

Documentation reproduced from package shiny, version 0.14.2, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.