toolkit.makeLabel {shinylight}R Documentation

JavaScript function: Makes a label suitable for labelling a control.

Description

The label has translatable text and a help tooltip (if translated for).

Arguments

translations

object translations[id].name is the string to use as label's text, translations[id].help is the string to use as the label's tooltip. If id is undefined or null, translations.name and translations.help are used.

container

toolkit.HTMLControlContainerElement [optional] Where to put the label.

id

string [optional] Where to look in translations for the text.

idFor

string [optional] The id attribute of the HTML element that this element refers to.

Value

The label.


[Package shinylight version 1.2 Index]