docs: fix indentation and talk better

This commit is contained in:
jean-emmanuel 2017-01-07 16:21:17 +01:00
parent bd6112e1be
commit 3cd5018120

View file

@ -21,16 +21,16 @@ The switcher looks like the [`switch`](buttons/#switch). Each of its possible va
- default:
`empty`
- usage:
- as a `string`: a widget's `id` whose state changes will be stored
- as an `array`: a list of widget `id`s
- as a `string`: a widget's `id` whose state changes will be stored
- as an `array`: a list of widget `id` `strings`
#### `values`
- type: `array|object`
- default: `["A", "B"]`
- usage:
- `array` of possible values to switch between : `[1,2,3]`
- `object` of `"label":value` pairs
- `array` of possible values to switch between : `[1,2,3]`
- `object` of `"label":value` pairs
## Crossfader