toolkit.staticText {shinylight}R Documentation

JavaScript function: A static text Toolkit Control.

Description

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

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.

Value

The static text element. The text content can be set by calling its setData() function. This text can include HTML entities, so you might want to replace & with &amp; and < with &lt; if it is plain text.


[Package shinylight version 1.2 Index]