renderUI
From shiny v0.9.0
by Winston Chang
UI Output
Experimental feature. Makes a reactive version of a function that generates HTML using the Shiny UI library.
Usage
renderUI(expr, env = parent.frame(), quoted = FALSE, func = NULL)
Arguments
- expr
- An expression that returns a Shiny tag
object,
HTML
, or a list of such objects. - env
- The environment in which to evaluate
expr
. - quoted
- Is
expr
a quoted expression (withquote()
)? This is useful if you want to save an expression in a variable. - func
- A function that returns a Shiny tag object,
HTML
, or a list of such objects (deprecated; useexpr
instead).
Details
The corresponding HTML output tag should be div
and have the CSS class
name shiny-html-output
(or use uiOutput
).
See Also
conditionalPanel
Examples
output$moreControls <- renderUI({
list(
)
})
Community examples
Looks like there are no examples yet.