allow set default text in text widget

This commit is contained in:
bordun 2016-06-08 01:01:40 +02:00
parent 0ee25352fd
commit 97e8389d4f
3 changed files with 26 additions and 7 deletions

View file

@ -95,7 +95,7 @@ The visualizer displays the evolution in time of a received value (through osc)
## Text
Text displays incoming values (via osc) as text
Text displays incoming values (via osc) as text. Setting its value to `default` will display the default text.
```js
{
@ -109,6 +109,11 @@ Text displays incoming values (via osc) as text
- default: `false`
- usage: set to `true` display vertically
#### `defaultText`
- type: `string`
- default: `empty`
- usage: default text to be displayed. If not set, `label` or `id` is used
## Meter