renderUI
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 (with quote())? 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; use expr instead). |
UI Output
Description
Experimental feature. Makes a reactive version of a function that generates HTML using the Shiny UI library.
Details
The corresponding HTML output tag should be div and have the CSS class
name shiny-html-output (or use uiOutput).
Examples
## <strong>Not run</strong>: # output$moreControls <- renderUI({ # list( # # ) # }) # ## <strong>End(Not run)</strong>