docs/log: catch up

This commit is contained in:
jean-emmanuel 2017-06-29 08:11:29 +02:00
parent a0f76325ac
commit 729c81b6bb
4 changed files with 85 additions and 36 deletions

View file

@ -75,3 +75,18 @@ Setting the `push`'s value externally (via osc) will toggle it's inner light.
- usage:
- `array` of possible values to switch between : `[1,2,3]`
- `object` of `"label":value` pairs
## Dropdown
```js
{
type:'dropdown',
// etc
}
```
### `values`
- type: `array|object`
- default: `{"Value 1":1,"Value 2":2}`
- usage:
- `array` of possible values to switch between : `[1,2,3]`
- `object` of `"label":value` pairs

View file

@ -22,16 +22,20 @@ Sliders are unidimensional widgets that output one value at a time.
- default: `false`
- usage: set to `true` to invert the pip's and fader's position
### `noPip`
### `pips`
- type: `boolean`
- default: `false`
- usage: set to `true` to hide the scale
- default: `true`
- usage: set to `false` to hide the scale
### `compact`
- type: `boolean`
- default: `false`
- usage: set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display (right-click/long-touch still triggers it).
### `dashed`
- type: `boolean`
- default: `false`
- usage: set to `true` to display a dashed gauge
### `range`
- type: `object`
@ -112,15 +116,15 @@ range: {
```
### `noPip`
### `pips`
- type: `boolean`
- default: `true`
- usage: set to `false` to show the scale
- usage: set to `false` to hide the scale
### `compact`
- type: `boolean`
- default: `false`
- usage: set to `true` to display a compact alternative for the widget. Disables mouse/touch focusing on the value display.
- usage: set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display (right-click/long-touch still triggers it).
### `angle`
- type: `number`