Learn R Programming

shinylight (version 1.1.2)

toolkit.preformattedText: JavaScript function: A static text Toolkit Control in a preformatted style.

Description

This element is like a control in that it has a label and actual text content, but it is not interactive.

Value

The static text element. The text content can be set by calling its setData() function with any plain text.

Arguments

id

string The ID of this control within the container

container

toolkit.HTMLContainerElement [optional] Where to put the control.

translations

object An object with keys 'name' for the label displayed by the text and 'help' for tooltop text.