compact option for knob + docs about compact

This commit is contained in:
jean-emmanuel 2016-04-04 10:11:30 +02:00
parent 13fd48455f
commit 0a6db1dd7f
5 changed files with 42 additions and 7 deletions

View file

@ -28,6 +28,12 @@ Sliders are unidimensional widgets that output one value at a time.
- default: `false`
- usage: set to `true` to hide the scale
#### `compact`
- type: `boolean`
- default: `false`
- usage: set to `true` to display a compact alternative for the widget. Enables `noPips` and disables mouse/touch focusing on the value display.
#### `range`
- type: `object`
- default: `{"min":0,"max":1}`
@ -42,10 +48,6 @@ range: {
"max": {"inf":10} // "inf" will be used as a custom label on the scale
}
```
#### `horizontal`
- type: `boolean`
- default: `false`
- usage: set to `true` to display the fader horizontally
#### `logScale`
- type: `boolean`
@ -97,6 +99,11 @@ range: {
- default: `false`
- usage: set to `true` to hide the scale
#### `compact`
- type: `boolean`
- default: `false`
- usage: set to `true` to display a compact alternative for the widget. Enables `noPips` and disables mouse/touch focusing on the value display.
#### `range`
- type: `object`
- default: `{"min":0,"max":1}`