Skip to content

6e. Cell: Slider

i_82 edited this page Apr 6, 2018 · 3 revisions

Slider cell is a plain cell with a UISlider called cellSlider inside.

Key Type Description Flags Default
min Number cellSlider.minimumValue Optional 0.0
max Number cellSlider.maximumValue Optional 1.0
step Number slider circle will automatically snap to step values Optional 0.1
showValue Boolean display a label to show cellSlider.value in Decimal format Optional false

label/icon are not supported.

theme Key Description
tintColor cellSlider.tintColor
thumbColor cellSlider.thumbTintColor
value Type Description
Number cellSlider.value

Example

{
    "showValue": true,
    "min": 1,
    "default": 5,
    "max": 10,
    "label": "Slider",
    "cell": "Slider",
    "key": "slider",
    "isSegmented": true
}

Clone this wiki locally