renderUI {shiny} | R Documentation |
Experimental feature. Makes a reactive version of a function that generates HTML using the Shiny UI library.
renderUI(expr, env = parent.frame(), quoted = FALSE, func = NULL)
expr |
An expression that returns a Shiny tag object, |
env |
The environment in which to evaluate |
quoted |
Is |
func |
A function that returns a Shiny tag object, |
The corresponding HTML output tag should be div
and have the CSS class
name shiny-html-output
(or use uiOutput
).
conditionalPanel
## Not run: output$moreControls <- renderUI({ list( ) }) ## End(Not run)