A Label widget is used to display texts that are not editable.
Derived base
dijit._Widget
Properties
id
A unique ID string for the widget.
dataName
The name of a data element to which the widget is bound. If no data to be sent to the server, leave this property blank.
textTo create a single line label, enter text in the editing field of the property.
▪ To create a multiple line label, specify an NLS element by clicking browse.
dataNameForText
This property specifies the name of a data element to which the widget is bound. The value of the data element is displayed on the widget. You can define the text of the label in this property or in the text property.
ECA editor support
Event that can be added to the Label widget with the ECA editor
onClick
This event is called when you tap the widget.
Properties that can be configured for the Label widget with the ECA editor
text
▪ To create a single line label, enter text in the editing field of the property.
▪ To create a multiple line label, specify an NLS element by clicking browse.