diff --git a/resources/docs/docs/widgets/general-mechanics.md b/resources/docs/docs/widgets/general-mechanics.md index f1cdeacb..febc9529 100644 --- a/resources/docs/docs/widgets/general-mechanics.md +++ b/resources/docs/docs/widgets/general-mechanics.md @@ -48,7 +48,7 @@ Within a single client's scope, there are multiple ways to synchronize widgets: - If they share the same `id`: in this case, the synchronized widget doesn't send any osc/midi message. This case is mostly used for widget cloning. - If they share a `linkId`: in this case, the synchronized widget sends its osc/midi message normally. -- If their `value` properties depend on each other using the [advanced syntaxes](./advances-syntaxes.md) +- If their `value` properties depend on each other using the [advanced syntaxes](./advanced-syntaxes.md) - Using [scripting](./scripting.md) ## Client synchronization diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index cecab37d..ab7e8777 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -55,7 +55,7 @@ |
1 | Set to `null` to send send no argument in the osc message |
| 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. |
-| "toggle" | Interraction mode:"toggle" | Interraction mode:false | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
| "auto" | Defines the widget's text color when active. |
@@ -70,10 +70,10 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "vertical" | Possible values: vertical, horizontal, grid |
+| "vertical" | Choices: `vertical`, `horizontal`, `grid` |
| "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| \{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`"tap" | Interraction mode:"tap" | Interraction mode:"auto" | Defines the widget's text color when active. |
@@ -87,7 +87,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "center" | Set to `left` or `right` to change text alignment (otherwise center)"center" | Set to `left` or `right` to change text alignment (otherwise center)\{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`200 | - If `layout` is `circular`: diameter (in px)"center" | Set to `left` or `right` to change text alignment (otherwise center)"circular" | Defines whether the menu's layout should be rendered in a circle or in a box"center" | Set to `left` or `right` to change text alignment (otherwise center)"circular" | Defines whether the menu's layout should be rendered in a circle or in a box"" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| false | Set to `true` to make the menu stay opened after mouse/touch release |
| false | Set to `true` to make the menu require a double tap to be opened instead of a single tap |
@@ -121,7 +121,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "center" | Set to `left` or `right` to change text alignment (otherwise center)"center" | Set to `left` or `right` to change text alignment (otherwise center)"" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
| false | Set to `true` to make the input send its value at each keystroke |
@@ -136,7 +136,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "center" | Set to `left` or `right` to change text alignment (otherwise center)"center" | Set to `left` or `right` to change text alignment (otherwise center)"auto" | Default browsing directory |
| "*" | Only display files with this extension |
| false | Set to `true` to only display the filename (the whole path will still be used as value) |
@@ -156,8 +156,8 @@
| --- | --- | --- | --- |
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| false | Set to `true` to display for vertical tab layout |
| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
@@ -187,7 +187,7 @@
| "auto" | Modal popup's position |
| "auto" | Modal popup's position |
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."default" | Defines how children are laid out."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
| true | Set to `false` to disable scrollbars |
@@ -225,7 +225,7 @@
| "button" | Defines the type of the widgets in the matrix |
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "horizontal" | Defines how children are laid out."horizontal" | Defines how children are laid out."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| 4 | Defines the number of widgets in the matrix |
| 0 | First widget's index |
@@ -280,8 +280,8 @@
| --- | --- | --- | --- |
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| false | Set to `true` to display for vertical tab layout |
| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
@@ -305,8 +305,8 @@
| --- | --- | --- | --- |
| "auto" | Panel background color. Set to "auto" to inherit from parent widget. |
-| "default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."default" | Defines how children are laid out."start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified."" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. |
| false | Set to `true` to display for vertical tab layout |
| false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget |
@@ -450,7 +450,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "intensity" | Defines how value is interpreted (see `value`)"intensity" | Defines how value is interpreted (see `value`)\{
"min": 0,
"max": 1
} | Value range |
| \{
"min": 0,
"max": 1
} | Alpha range (if `mode` is `color`) |
| false | If `mode` is `intensity`, set to `true` to use logarithmic scale. |
@@ -471,7 +471,7 @@
| false | Set to `true` to display the text vertically |
| false | Set to `true` to wrap long lines automatically."center" | Css text-align property."center" | Css text-align property."default" | Design style"default" | Design stylefalse | Set to `true` to display the fader horizontally |
| false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
| false | Set to `true` to display a dashed gauge |
@@ -581,7 +581,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "vertical" | - `circular`: relative move in circular motion"vertical" | - `circular`: relative move in circular motionfalse | When set to `true`, the widget will go back to its `default` value when released |
| false | Set to `true` to show the scale's breakpoints |
| false | Set to `true` to display a dashed gauge |
@@ -610,7 +610,7 @@
| -1 | Defines which value is sent when rotating the encoder anticlockwise |
| 1 | Defines which value is sent when rotating the encoder clockwise |
| "" | Defines which value is sent when releasing the encoder:"circular" | - `circular`: relative move in circular motion"circular" | - `circular`: relative move in circular motionfalse | Set to `true` to make the fader reset to its `default` value when receiving a double tap."" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
@@ -626,7 +626,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "default" | Design style"default" | Design stylefalse | Set to `true` to display the fader horizontally |
| false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) |
| false | Set to `true` to display a dashed gauge |
@@ -655,12 +655,12 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "value" | Define which events trigger the script's execution."value" | Define which events trigger the script's execution."" | Script executed whenever the widget's receives the defined event. See documentation. |
| "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) |
| true | Set to `false` to prevent keydown repeats when holding the key combo pressed |
-| "keyDown" | Determines which key event trigger the script's execution"keyDown" | Determines which key event trigger the script's executionType: ${defaultValue.type}
Default: ${JSON.stringify(defaultValue.value)}
Choices: ${raw(defaultValue.choices.map(x=>'' + x + '').join(', '))}
Dynamic: ${dynamic ? 'true' : 'false'}