
Render a reactive output variable as text within an application page. The
text will be included within an HTML div
tag by default.
textOutput(outputId, container = if (inline) span else div,
inline = FALSE)
output variable to read the value from
a function to generate an HTML element to contain the text
use an inline (span()
) or block container (div()
)
for the output
A text output element that can be included in a panel
Text is HTML-escaped prior to rendering. This element is often used to display renderText output variables.
# NOT RUN {
h3(textOutput("caption"))
# }
Run the code above in your browser using DataLab