- removed knob pan option (looked too ugly, use css var to hide gauge instead)

- knob/fader/toggle gauge width reduced to 2px, looks slicker
This commit is contained in:
jean-emmanuel 2016-03-25 01:26:13 +01:00
parent f732feff29
commit aed0812b04
8 changed files with 65 additions and 64 deletions

View file

@ -15,6 +15,14 @@ absolute:false, // [bool] set to true for absolute value on touch/
meter:false, // [bool] set to true to display a vumeter which will display values send to '/widgets_path/meter'
```
**theming vars**
```
--color-gauge:CSS_COLOR;
--color-knob:CSS_COLOR;
--color-pips:CSS_COLOR;
```
## knob
```js
type:'knob',
@ -22,5 +30,12 @@ range: {"min":0,"max":1}, // [object] minimum and maximum values
logScale: false, // [bool] use logarithmic scale (log10)
unit: false, // [string] value suffix
absolute:false, // [bool] set to true for absolute value on touch/click instead of relative dragging
pan:false // [bool] true for panning knob
```
**theming vars**
```
--color-gauge:CSS_COLOR;
--color-knob:CSS_COLOR;
--color-pips:CSS_COLOR;
```