Number
Number
Number
Array.<String>
String
Number
Slider
Slider
Slider
Slider
Slider
Slider
Number
Get the CancelID
Kind: Instance method of Slider
Returns: Number
- the KEY_CANCEL_ID value
Number
Get the NumTicks
Kind: Instance method of Slider
Returns: Number
- the KEY_NUM_TICKS value
Number
Get the Position
Kind: Instance method of Slider
Returns: Number
- the KEY_POSITION value
Array.<String>
Get the SliderFooter
Kind: Instance method of Slider
Returns: Array.<String>
- the KEY_SLIDER_FOOTER value
String
Get the SliderHeader
Kind: Instance method of Slider
Returns: String
- the KEY_SLIDER_HEADER value
Number
Get the Timeout
Kind: Instance method of Slider
Returns: Number
- the KEY_TIMEOUT value
Slider
Set the CancelID
Kind: Instance method of Slider
Returns: Slider
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
An ID for this specific Slider to allow cancellation through the `CancelInteraction` RPC. - The desired CancelID. |
Slider
Set the NumTicks
Kind: Instance method of Slider
Returns: Slider
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
ticks | Number |
Number of selectable items on a horizontal axis - The desired NumTicks. {'num_min_value': 2, 'num_max_value': 26} |
Slider
Set the Position
Kind: Instance method of Slider
Returns: Slider
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
position | Number |
Initial position of slider control (cannot exceed numTicks) - The desired Position. {'num_min_value': 1, 'num_max_value': 26} |
Slider
Set the SliderFooter
Kind: Instance method of Slider
Returns: Slider
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
footer | Array.<String> |
Text footer to display (meant to display min/max threshold descriptors). For a static text footer, only one footer string shall be provided in the array. For a dynamic text footer, the number of footer text string in the array must match the numTicks value. For a dynamic text footer, text array string should correlate with potential slider position index. If omitted on supported displays, no footer text shall be displayed. - The desired SliderFooter. {'array_min_size': 1, 'array_max_size': 26, 'string_min_length': 1, 'string_max_length': 500} |
Slider
Set the SliderHeader
Kind: Instance method of Slider
Returns: Slider
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
header | String |
Text header to display - The desired SliderHeader. {'string_min_length': 1, 'string_max_length': 500} |
Slider
Set the Timeout
Kind: Instance method of Slider
Returns: Slider
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
timeout | Number |
App defined timeout. Indicates how long of a timeout from the last action (i.e. sliding control resets timeout). If omitted, the value is set to 10000. - The desired Timeout. {'default_value': 10000, 'num_min_value': 1000, 'num_max_value': 65535} |