NumberNumberNumberArray.<String>StringNumberSliderSliderSliderSliderSliderSliderNumberGet the CancelID
Kind: Instance method of Slider
Returns: Number - the KEY_CANCEL_ID value
NumberGet the NumTicks
Kind: Instance method of Slider
Returns: Number - the KEY_NUM_TICKS value
NumberGet 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
StringGet the SliderHeader
Kind: Instance method of Slider
Returns: String - the KEY_SLIDER_HEADER value
NumberGet the Timeout
Kind: Instance method of Slider
Returns: Number - the KEY_TIMEOUT value
SliderSet 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. |
SliderSet 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} |
SliderSet 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} |
SliderSet 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} |
SliderSet 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} |
SliderSet 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} |