compact option for knob + docs about compact
This commit is contained in:
parent
13fd48455f
commit
0a6db1dd7f
5 changed files with 42 additions and 7 deletions
|
|
@ -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}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue