align option for fader

This commit is contained in:
jean-emmanuel 2016-03-22 22:28:57 +01:00
parent 14868f3b78
commit b06bad1596
4 changed files with 36 additions and 2 deletions

View file

@ -6,6 +6,7 @@ Sliders are unidimensional widgets that output one value at a time.
```js
type:'fader',
horizontal:false, // [bool] set to true to display fader horizontally
align:'center', // [left|right] only display one scale and one meter
range: {"min":0,"max":1}, // [object] defining the breakpoints of the fader
// keys can be percentages or 'min' / 'max'
logScale: false, // [bool] use logarithmic scale (log10)