labels

Specifies the text in the tab labels (as an array of Strings).

Type

Array

Tab label text

Example

Tab1.labels = ['Summary', 'Details'];
if (RadioButton1.selectedObject == 'City') {
  Tab1.labels[1] = 'City Details';
}
else {
  Tab1.labels[1] = 'State Details';
;]}

Either syntax below can be used in component script:

labels           // unqualified
Tab1.labels      // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.