From e6c7631d203f78e95d83bcad4c9740ab807eb11d Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 23 Apr 2021 10:30:16 +0200 Subject: [PATCH] docs: update --- resources/docs/docs/widgets/properties-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index b76a38ea..1d36f64f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -61,7 +61,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
address#
| `string` | "auto" | OSC address for sending / receiving messages, it must start with a slash (`/`)

By default ("auto"), the widget's id is used: `/widget_id` | - |
preArgs#
| `*`|
`array` | "" | A value or array of values that will be prepended to the OSC messages. | + |
preArgs#
| `*`|
`array` | "" | A value or array of values that will be prepended to the widget's value in the OSC messages it sends.

Incoming messages must match these to affect by the widget. | |
typeTags#
| `string` | "" | Defines the osc argument types, one letter per argument (including preArgs)
- If empty, the types are infered automatically from the values (with numbers casted to floats by default)
- If there are more arguments than type letters, the last type is used for the extra arguments

See http://opensoundcontrol.org/spec-1_0 for existing typetags | |
decimals#
| `integer` | 2 | Defines the number of decimals to send. | |
target#
| `string`|
`array`|
`null` | "" | This defines the targets of the widget's OSC messages
- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:portA", "ip:portB"]`
- If midi is enabled, targets can be `midi:device_name`
- If no target is set, messages can still be sent if the server has default targets |