up Inquisit Language Reference

label function

Returns the label at the specified index.

Member of

<slider>

Syntax

slider.name.label(index)

Return Type

string

Parameters

Name Type Description
index integer The index of the label to get.

Remarks

The label function returns a label from a slider item''s list of labels.

Examples

The following displays the label from a slider element in the item for a text element:

<text myText>
/ items= ("current category = <% slider.example.label(1) %>")
</text>

Copyright Millisecond Software, LLC. All rights reserved.