textOutput: Create a text output element

Description Usage Arguments Details Value Examples

View source: R/bootstrap.R

Description

Render a reactive output variable as text within an application page. The text will be included within an HTML div tag by default.

Usage

1
textOutput(outputId, container = if (inline) span else div, inline = FALSE)

Arguments

outputId

output variable to read the value from

container

a function to generate an HTML element to contain the text

inline

use an inline (span()) or block container (div()) for the output

Details

Text is HTML-escaped prior to rendering. This element is often used to display renderText output variables.

Value

A text output element that can be included in a panel

Examples

1
h3(textOutput("caption"))

ymd526442121/Rproject_shiny documentation built on May 4, 2019, 5:31 p.m.