Label

This is a generic Label widget that also shows an info tooltip when "toolTipContent" is passed.

Example
Typically used in a dojo template:
<div class="bcLabel">
  <div data-dojo-type="blueconic/api/widgets/form/label/Label" data-dojo-props="labelText: '${i18n.endpoint}', toolTipContent: '${i18n.endpointHelpText}'"></div>
</div>

Properties

labelText String

The text shown in the label.

toolTipContent String

The content that will be shown in the tooltip.
When specified, an "i" icon will be shown. This icon can be clicked, toggling the tooltip.

toolTipTitle String

The title that will be shown in the tooltip.
This is optional; when not set, the labelText will be used as title.