textOutput
textOutput(outputId, container = div)
Arguments
outputId | output variable to read the value from |
---|---|
container | a function to generate an HTML element to contain the text |
Create a text output element
Value
A text output element that can be included in a panel
Description
Render a reactive output variable as text within an application page. The
text will be included within an HTML div
tag by default.
Details
Text is HTML-escaped prior to rendering. This element is often used to display renderText output variables.
Examples
h3(textOutput("caption"))<h3> <div id="caption" class="shiny-text-output"></div> </h3>