diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index e9d99e42..156d4cb1 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -590,6 +590,12 @@ ??? api "
plot#
" XY coordinates plot. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
interaction#
| `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -624,6 +630,12 @@ ??? api "
eq#
" Draws logarithmic frequency response from an array of filter objects. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
interaction#
| `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -658,6 +670,12 @@ ??? api "
visualizer#
" Display its value over time. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
interaction#
| `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -694,6 +712,12 @@ ??? api "
led#
" Intensity display. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
interaction#
| `boolean` | false | Set to `false` to disable pointer interactions. | + === "led" | property | type |default | description | @@ -712,6 +736,12 @@ ??? api "
text#
" Display text. + === "widget" + + | property | type |default | description | + | --- | --- | --- | --- | + |
interaction#
| `boolean` | false | Set to `false` to disable pointer interactions. | + === "style" | property | type |default | description | @@ -846,7 +876,7 @@ | --- | --- | --- | --- | |
css#
| `string` | "" | CSS rules. See documentation.

Some style-related properties can be set or read from css using css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--border-radius`: `borderRadius`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText`

Canvas-based widget have their computed width and height available as css variables (read-only):
- `--widget-width`
- `--widget-height` | |
design#
| `string` | "default" | Design style

Choices: `default`, `round`, `compact` | - |
knobSize#
| `number` | "auto" | Fader knob size | + |
knobSize#
| `number` | "auto" | Fader knob size | |
colorKnob#
| `string` | "auto" | Fader knob color | |
horizontal#
| `boolean` | false | Set to `true` to display the fader horizontally | |
pips#
| `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) | @@ -922,7 +952,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
mode#
| `string` | "circular" | - `circular`: relative move in circular motion
- `snap`: snap to touch position and move in vertical motion
- `vertical`: relative move in vertical motion

Choices: `circular`, `snap`, `vertical` | - |
doubleTap#
| `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

Can also be an osc address, in which case the widget will just send an osc message (`/ `) | + |
doubleTap#
| `boolean` | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.

Can also be an osc address, in which case the widget will just send an osc message (`/ `)

Choices: `false`, `true`, `script` | |
range#
| `object` | \{
 "min": 0,
 "max": 1
}
| Defines the breakpoints of the fader's scale:
- keys can be percentages and/or `min` / `max`
- values can be `number` or `object` if a custom label is needed

Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) | |
logScale#
| `boolean`|
`number` | false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. | |
sensitivity#
| `number` | 1 | When set between 0 and 1, reduces the encoder's verbosity | @@ -947,7 +977,7 @@ | --- | --- | --- | --- | |
css#
| `string` | "" | CSS rules. See documentation.

Some style-related properties can be set or read from css using css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--border-radius`: `borderRadius`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText`

Canvas-based widget have their computed width and height available as css variables (read-only):
- `--widget-width`
- `--widget-height` | |
design#
| `string` | "default" | Design style

Choices: `default`, `round`, `compact` | - |
knobSize#
| `number` | "auto" | Fader knob size | + |
knobSize#
| `number` | "auto" | Fader knob size | |
colorKnob#
| `string` | "auto" | Fader knob color | |
horizontal#
| `boolean` | false | Set to `true` to display the fader horizontally | |
pips#
| `boolean` | false | Set to `true` to show range breakpoints (ignored if `design` is `compact`) | diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index 4d1e9dbf..a585f8e8 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -91,8 +91,8 @@ This script has access to the same variables and functions as the `script` prope Containers with `traversing` enabled change how touch events are emitted: - - a new 'stop' event is emitted whenever the gestures exits a touchable widget - - a new 'start' event is emitted whenever the gestures enters a touchable widget + - a new 'stop' event is emitted whenever the pointer exits a touchable widget while pressed. + - a new 'start' event is emitted whenever the pointer enters a touchable widget while pressed. ### `onDraw`