diff --git a/resources/docs/docs/advanced-property-syntax.md b/resources/docs/docs/advanced-property-syntax.md index 43436729..4fbb0174 100644 --- a/resources/docs/docs/advanced-property-syntax.md +++ b/resources/docs/docs/advanced-property-syntax.md @@ -25,7 +25,7 @@ If the retreived property is an object (`[] / {}`), a subset can be defined by a #### Using the value -The special property name `value` refers to a widget's current value (which can be affected by its `value` *property*). +The special property name `value` refers to a widget's current value (which can be affected by its `value` *property*). When omitted, the property name defaults to `value` : `@{widgetId}` => `@{widgetId.value}` @@ -33,7 +33,7 @@ When omitted, the property name defaults to `value` : `@{widgetId}` => `@{widget Some properties, when changed, trigger a complete widget recreation that ends any ongoing user interaction. Also, updating these properties continuously (e.g. when linked to a slider's dynamic value) can be very cpu expensive. -Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a ` `. +Some properties have much cheaper update routines and can be considered as `dynamic`, as in performance safe. These properties are marked in the documentation with a . #### Circular references cases diff --git a/resources/docs/docs/widgets-reference.md b/resources/docs/docs/widgets-reference.md index e6877087..6365be0e 100644 --- a/resources/docs/docs/widgets-reference.md +++ b/resources/docs/docs/widgets-reference.md @@ -4,27 +4,27 @@ | property | type |default | description | | --- | --- | --- | --- | -|
"auto" | |
-| "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
-| "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages."auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | |
-| "auto" | |
-| "auto" | Set to `false` to hide completely"auto" | CSS color code. Set to "auto" to inherit from parent widget. |
-| "" | CSS rules |
-| "" | If set, the widget will be initialized with this value when the session is loaded. |
-| "" | Define the widget's value depending on other widget's values / properties using property inheritance and property maths |
-| 2 | Defines the number of decimals to display and to send."auto" | OSC address for sending messages, it must start with a / |
-| "" | A value or array of values that will be prepended to the OSC messages."" | This defines the targets of the widget's OSC messagesfalse | Set to `true` to prevent the widget from sending any osc message |
+| "auto" | |
+| "auto" | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
+| "" | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages."auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | When both top and left are set to auto, the widget is positioned according to the normal flow of the page (from left to right, by order of creation)."auto" | |
+| "auto" | |
+| "auto" | Set to `false` to hide completely"auto" | Defines the widget's accent color (css variable `--custom-color`). Must be a valid CSS color. Set to "auto" to inherit from parent widget. |
+| "" | CSS rules. See documentation. |
+| "" | If set, the widget will be initialized with this value when the session is loaded. |
+| "" | Define the widget's value depending on other widget's values / properties using property inheritance and property maths |
+| 2 | Defines the number of decimals to display and to send."auto" | OSC address for sending messages, it must start with a / |
+| "" | A value or array of values that will be prepended to the OSC messages."" | This defines the targets of the widget's OSC messagesfalse | Set to `true` to prevent the widget from sending any osc message |
## Sliders
@@ -32,83 +32,83 @@
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | Available CSS variables:false | Set to `true` to display the fader horizontally |
-| false | Set to `true` to invert the pip's and fader's position |
-| true | Set to `false` to hide the scale |
-| true | Set to `false` to hide the built-in input |
-| false | Set to true to display a vu-meter next in the faderfalse | Set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display. |
-| false | Set to `true` to display a dashed gauge |
-| false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
-| false | When set to `true`, the widget will go back to its `default` value when released |
-| false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:"" | Restricts the widget's value:false | Set to `true` to use logarithmic scale |
-| "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
-| "auto" | Defines the starting point's value of the fader's gauge |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
-| "" | OSC address for the built-in meter |
+| "" | Available CSS variables:false | Set to `true` to display the fader horizontally |
+| false | Set to `true` to invert the pip's and fader's position |
+| true | Set to `false` to hide the scale |
+| true | Set to `false` to hide the built-in input |
+| false | Set to true to display a vu-meter next in the faderfalse | Set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display. |
+| false | Set to `true` to display a dashed gauge |
+| false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
+| false | When set to `true`, the widget will go back to its `default` value when released |
+| false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:"" | Restricts the widget's value:false | Set to `true` to use logarithmic scale |
+| "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
+| "auto" | Defines the starting point's value of the fader's gauge |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
+| "" | OSC address for the built-in meter |
### knob
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | Available CSS variables:true | Set to `false` to hide the scale |
-| true | Set to `false` to hide the built-in input |
-| false | Set to `true` to display a dashed gauge |
-| 270 | Defines the angle's width of the knob, in degrees |
-| false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
-| false | When set to `true`, the widget will go back to its `default` value when released |
-| false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:"" | Restricts the widget's value:false | Set to `true` to use logarithmic scale |
-| "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
-| "auto" | Defines the starting point's value of the knob's gauge |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
+| "" | Available CSS variables:true | Set to `false` to hide the scale |
+| true | Set to `false` to hide the built-in input |
+| false | Set to `true` to display a dashed gauge |
+| 270 | Defines the angle's width of the knob, in degrees |
+| false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
+| false | When set to `true`, the widget will go back to its `default` value when released |
+| false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:"" | Restricts the widget's value:false | Set to `true` to use logarithmic scale |
+| "" | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
+| "auto" | Defines the starting point's value of the knob's gauge |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
### encoder
| property | type |default | description |
| --- | --- | --- | --- |
-| "auto" | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
-| -1 | Defines which value is sent when rotating the encoder anticlockwise |
-| 1 | Defines which value is sent when rotating the encoder clockwise |
-| "auto" | Defines which value is sent when releasing the encoder:false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
-| false | 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` |
+| "auto" | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
+| -1 | Defines which value is sent when rotating the encoder anticlockwise |
+| 1 | Defines which value is sent when rotating the encoder clockwise |
+| "auto" | Defines which value is sent when releasing the encoder:false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
+| false | 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` |
### range
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | Available CSS variables:{
"min": 0,
"max": 1
} | See fader's `range` |
-| false | See fader's `horizontal` |
-| false | See fader's `alignRight` |
-| true | See fader's `input` |
-| false | See fader's `compact` |
-| true | See fader's `pips` |
-| false | See fader's `snap` |
-| false | See fader's `spring` |
-| false | See fader's `logScale` |
-| "" | See fader's `touchAddress` |
-| false | Set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to it"" | Available CSS variables:{
"min": 0,
"max": 1
} | See fader's `range` |
+| false | See fader's `horizontal` |
+| false | See fader's `alignRight` |
+| true | See fader's `input` |
+| false | See fader's `compact` |
+| true | See fader's `pips` |
+| false | See fader's `snap` |
+| false | See fader's `spring` |
+| false | See fader's `logScale` |
+| "" | See fader's `touchAddress` |
+| false | Set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to itfalse | Set to `true` to make the button require a double tap to be toggled instead of a single tap |
-| false | Set to `true` to display the toggle's state with a led |
-| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | Set to `true` to make the button require a double tap to be toggled instead of a single tap |
+| false | Set to `true` to display the toggle's state with a led |
+| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
-| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | Set to `true` to prevent sending any osc message when releasing the button |
+| false | Set to `true` to make the button require a double tap to be pushed instead of a single tap |
+| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | Set to `true` to prevent sending any osc message when releasing the button |
### switch
| property | type |default | description |
| --- | --- | --- | --- |
-| false | Set to `true` to display values horizontally |
-| false | If values is an object, set to `true` to display both values and labels instead of labels only |
-| {
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`true | Set to `false` to disable traversing gestures |
+| false | Set to `true` to display values horizontally |
+| false | If values is an object, set to `true` to display both values and labels instead of labels only |
+| {
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`true | Set to `false` to disable traversing gestures |
### dropdown
| property | type |default | description |
| --- | --- | --- | --- |
-| {
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`{
"Value 1": 1,
"Value 2": 2
} | `Array` of possible values to switch between : `[1,2,3]`"" | Available CSS variables:20 | Defines the points' size |
-| false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
-| true | Set to `false` to hide the scale |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| false | Set to `true` to use logarithmic scale for the x axis (log10) |
-| false | Set to `true` to use logarithmic scale for the y axis (log10) |
-| true | Set to false to hide the built-in input widget |
-| false | 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`) |
-| false | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/x` or `/y` appended to it"" | Available CSS variables:20 | Defines the points' size |
+| false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
+| true | Set to `false` to hide the scale |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+| false | Set to `true` to use logarithmic scale for the x axis (log10) |
+| false | Set to `true` to use logarithmic scale for the y axis (log10) |
+| true | Set to false to hide the built-in input widget |
+| false | 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`) |
+| false | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/x` or `/y` appended to itfalse | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
-| {
"min": 0,
"max": 255
} | Defines the widget's output scale. |
-| true | Set to `false` to hide the built-in input widget |
-| false | Set to `true` to enable alpha channel |
-| false | Set to `true` to send separate osc messages for for r and g & b. The address will be the same as the widget's with `/r`, `/g` or `/b` appended to itfalse | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
+| {
"min": 0,
"max": 255
} | Defines the widget's output scale. |
+| true | Set to `false` to hide the built-in input widget |
+| false | Set to `true` to enable alpha channel |
+| false | Set to `true` to send separate osc messages for for r and g & b. The address will be the same as the widget's with `/r`, `/g` or `/b` appended to it"" | Available CSS variables:2 | Defines the number of points on the pad20 | Defines the points' size |
-| false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
-| true | Set to `false` to hide the scale |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| false | Set to `true` to use logarithmic scale for the x axis (log10) |
-| false | Set to `true` to use logarithmic scale for the y axis (log10) |
-| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
-| false | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/N/x` or `/N/y` appended to it, where N is the point's id (or the point's label if points is an array)"" | Available CSS variables:2 | Defines the number of points on the pad20 | Defines the points' size |
+| false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
+| true | Set to `false` to hide the scale |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+| false | Set to `true` to use logarithmic scale for the x axis (log10) |
+| false | Set to `true` to use logarithmic scale for the y axis (log10) |
+| "" | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
+| false | Set to `true` to send separate osc messages for each point's x and y axis. The address will be the same as the widget's with `/N/x` or `/N/y` appended to it, where N is the point's id (or the point's label if points is an array)"toggle" | Defines the type of the widgets in the matrix |
-| [
2,
2
] | Defines the number of columns and and rows in the matrix |
-| 0 | First widget's index |
-| 0 | Adds space between widgets |
-| true | Set to `false` to disable traversing gestures |
-| true | Set to `false` to disables the widgets' borders |
-| {} | Defines a set of property to override the widgets' defaults."toggle" | Defines the type of the widgets in the matrix |
+| [
2,
2
] | Defines the number of columns and and rows in the matrix |
+| 0 | First widget's index |
+| 0 | Adds space between widgets |
+| true | Set to `false` to disable traversing gestures |
+| true | Set to `false` to disables the widgets' borders |
+| {} | Defines a set of property to override the widgets' defaults."" | Available CSS variables:25 | Defines the number keys |
-| 48 | MIDI note number to start with (default is C4)true | Set to `false` to disable traversing gestures |
-| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | `true`: the widget's index will be appended to the matrice's osc address"" | Available CSS variables:25 | Defines the number keys |
+| 48 | MIDI note number to start with (default is C4)true | Set to `false` to disable traversing gestures |
+| 1 | Set to `null` to send send no argument in the osc message0 | Set to `null` to send send no argument in the osc messagefalse | `true`: the widget's index will be appended to the matrice's osc address"" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:[
"input_1",
"input_2"
] | - `Array` of input names : `['input_1', 'input_2']`[
"output_1",
"output_2"
] | List of output values the inputs can connect to (see `inputs`). |
+| "" | The inputs/ouputs width can be adjusted by using the `.nodes` selector:[
"input_1",
"input_2"
] | - `Array` of input names : `['input_1', 'input_2']`[
"output_1",
"output_2"
] | List of output values the inputs can connect to (see `inputs`). |
## Plots
@@ -252,114 +252,114 @@
| property | type |default | description |
| --- | --- | --- | --- |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| false | Set to `true` to use logarithmic scale for the x axis (log10) |
-| false | Set to `true` to use logarithmic scale for the y axis (log10) |
-| "auto" | Defines the y axis origin. Set to `false` to disable it. |
-| true | |
-| false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
-| false | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
-| true | Set to `false` to hide the scale |
-| "" | - `Array` of `y` values{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+| false | Set to `true` to use logarithmic scale for the x axis (log10) |
+| false | Set to `true` to use logarithmic scale for the y axis (log10) |
+| "auto" | Defines the y axis origin. Set to `false` to disable it. |
+| true | |
+| false | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
+| false | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
+| true | Set to `false` to hide the scale |
+| "" | - `Array` of `y` valuestrue | Set to false to hide the scale |
-| 128 | Defines the number of points used to compute the frequency response |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| "auto" | Defines the y axis origin. Set to `false` to disable it |
-| false | Set to `true` to use logarithmic scale for the x axis (log10) |
-| false | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
+| true | Set to false to hide the scale |
+| 128 | Defines the number of points used to compute the frequency response |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+| "auto" | Defines the y axis origin. Set to `false` to disable it |
+| false | Set to `true` to use logarithmic scale for the x axis (log10) |
+| false | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
### visualizer
| property | type |default | description |
| --- | --- | --- | --- |
-| 1 | Defines visualization duration in seconds |
-| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
-| "auto" | Defines the y axis origin. Set to `false` to disable it |
-| false | Set to `true` to use logarithmic scale for the y axis |
-| false | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
-| true | Set to `false` to hide the scale |
+| 1 | Defines visualization duration in seconds |
+| {
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
+| "auto" | Defines the y axis origin. Set to `false` to disable it |
+| false | Set to `true` to use logarithmic scale for the y axis |
+| false | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
+| true | Set to `false` to hide the scale |
### led
| property | type |default | description |
| --- | --- | --- | --- |
-| {
"min": 0,
"max": 1
} | Value to led intensity mapping range |
-| false | Set to `true` to use a logarithmic mapping scale) |
+| {
"min": 0,
"max": 1
} | Value to led intensity mapping range |
+| false | Set to `true` to use a logarithmic mapping scale) |
### rgbled
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | - `Array`: `[r, g, b]` (`r`, `g` and `b` between `0` and `255`)"" | - `Array`: `[r, g, b]` (`r`, `g` and `b` between `0` and `255`)"" | Available CSS variables:{
"min": 0,
"max": 1
} | See fader's `range` |
-| false | See fader's `logScale` |
-| "auto" | See fader's `origin` |
-| "auto" | See fader's `unit` |
-| false | See fader's `alignRight` |
-| false | See fader's `horizontal` |
-| false | See fader's `pips` |
-| false | See fader's `dashed` |
-| [] | When set, the meter's gauge will be filled with a linear color gradient"" | Available CSS variables:{
"min": 0,
"max": 1
} | See fader's `range` |
+| false | See fader's `logScale` |
+| "auto" | See fader's `origin` |
+| "auto" | See fader's `unit` |
+| false | See fader's `alignRight` |
+| false | See fader's `horizontal` |
+| false | See fader's `pips` |
+| false | See fader's `dashed` |
+| [] | When set, the meter's gauge will be filled with a linear color gradientfalse | Set to `true` to display the text vertically |
-| false | Set to `true` to wrap long lines automatically."" | Set to `left` or `right` to change text alignment (otherwise center) |
+| false | Set to `true` to display the text vertically |
+| false | Set to `true` to wrap long lines automatically."" | Set to `left` or `right` to change text alignment (otherwise center) |
### image
| property | type |default | description |
| --- | --- | --- | --- |
-| "cover" | CSS background-size |
-| "center" | CSS background-position |
-| "no-repeat" | CSS background-repeat |
-| true | Set to `false` to disable the borders and background-color |
-| true | Set to false to disable image caching (forces file reload when updating or editing the widget)."" | - File `url` or `absolute path`"cover" | CSS background-size |
+| "center" | CSS background-position |
+| "no-repeat" | CSS background-repeat |
+| true | Set to `false` to disable the borders and background-color |
+| true | Set to false to disable image caching (forces file reload when updating or editing the widget)."" | - File `url` or `absolute path`"" | Svg xml definition:"" | Svg xml definition:"auto" | Set to `false` to hide completelytrue | Set to `false` to disable the borders and background-color |
-| "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |
+| "auto" | Set to `false` to hide completelytrue | Set to `false` to disable the borders and background-color |
+| "" | External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc) |
## Containers
@@ -367,55 +367,55 @@
| property | type |default | description |
| --- | --- | --- | --- |
-| true | Set to `false` to disable scrollbars |
-| true | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
-| "" | Defines currently opened tab in the widget"@{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
-| [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
+| true | Set to `false` to disable scrollbars |
+| true | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
+| "" | Defines currently opened tab in the widget"@{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
+| [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
+| [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
### strip
| property | type |default | description |
| --- | --- | --- | --- |
-| true | Set to `false` to disable scrollbars |
-| false | Set to `true` to display widgets horizontally |
-| false | Set to `true` to stretch widgets evenly |
-| true | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
-| 0 | Adds space between widgets. Percents are always relative to the strips width |
-| "@{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| [] | Each element of the array must be a widget objecttrue | Set to `false` to disable scrollbars |
+| false | Set to `true` to display widgets horizontally |
+| false | Set to `true` to stretch widgets evenly |
+| true | By default, widgets in panels/strip have their border disabled, except for panels and strips. Set to `false` to apply this rule to the panel too |
+| 0 | Adds space between widgets. Percents are always relative to the strips width |
+| "@{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
+| [] | Each element of the array must be a widget objectfalse | Set to `true` to make the modal require a double tap to open instead of a single tap |
-| "" | Alternative label for the modal popup |
-| "80%" | Modal popup's size |
-| "80%" | Modal popup's size |
-| "auto" | Modal popup's position |
-| "auto" | Modal popup's position |
-| "" | Defines the modal's state:`0` for closed, `1` for opened |
-| "@{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
-| [] | Each element of the array must be a widget object |
+| false | Set to `true` to make the modal require a double tap to open instead of a single tap |
+| "" | Alternative label for the modal popup |
+| "80%" | Modal popup's size |
+| "80%" | Modal popup's size |
+| "auto" | Modal popup's position |
+| "auto" | Modal popup's position |
+| "" | Defines the modal's state:`0` for closed, `1` for opened |
+| "@{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets |
+| [] | Each element of the array must be a widget object |
### clone
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | `id` of the widget to clone |
-| {} | Cloned widget's properties to override |
+| "" | `id` of the widget to clone |
+| {} | Cloned widget's properties to override |
## Switchers
@@ -423,18 +423,18 @@
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | - `String`: a widget's `id` whose state changes will be storedfalse | Set to `true` to display values horizontally |
-| {
"Value 1": 1,
"Value 2": 2
} | Each item represents a bank that stores the values from the widgets listed in `linkedWidgets`"" | - `String`: a widget's `id` whose state changes will be storedfalse | Set to `true` to display values horizontally |
+| {
"Value 1": 1,
"Value 2": 2
} | Each item represents a bank that stores the values from the widgets listed in `linkedWidgets`"" | - `String`: a widget's `id` whose state changes will be storedfalse | Set to `true` to display values horizontally |
+| "" | - `String`: a widget's `id` whose state changes will be storedfalse | Set to `true` to display values horizontally |
## Inputs
@@ -442,50 +442,50 @@
| property | type |default | description |
| --- | --- | --- | --- |
-| false | Set to `true` to display the text vertically |
-| "" | 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) |
-| true | Set to `false` to make the input non-editable |
+| false | Set to `true` to display the text vertically |
+| "" | 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) |
+| true | Set to `false` to make the input non-editable |
### keys
| property | type |default | description |
| --- | --- | --- | --- |
-| "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) |
-| "" | This property is evaluated each time the key combo is pressed and defines the widget's own value. Formulas are given extras variables in this context:"" | Same as `keydown`, but evaluated when releasing the key combo |
-| true | Set to `false` to prevent keydown repeats when holding the key combo pressed |
+| "" | Key combo `string` or `array` of strings (see KeyboardJS documentation) |
+| "" | This property is evaluated each time the key combo is pressed and defines the widget's own value. Formulas are given extras variables in this context:"" | Same as `keydown`, but evaluated when releasing the key combo |
+| true | Set to `false` to prevent keydown repeats when holding the key combo pressed |
### script
| property | type |default | description |
| --- | --- | --- | --- |
-| 1 | When the widget receives a value, if this property return a falsy value, the script property won't be evaluated. If it's non-falsy, it will be evaluated normally. Formulas are given one extra variable in this context:"" | This property is evaluated each time the widget receives a value* if condition is non-falsy. Formulas are given extras variables in this context:1 | When the widget receives a value, if this property return a falsy value, the script property won't be evaluated. If it's non-falsy, it will be evaluated normally. Formulas are given one extra variable in this context:"" | This property is evaluated each time the widget receives a value* if condition is non-falsy. Formulas are given extras variables in this context:30 | Value update frequency (updates per seconds) |
-| true | Normalize gravity related values |
-| false | Set to `true` to return the orientation values with respect to the actual north direction of the world instead of the head direction of the device |
-| false | Set to `true` to return screen adjusted values |
-| "" | The gyroscope's value is an object containing multiple values, which can be used by other widgets via the property maths syntax30 | Value update frequency (updates per seconds) |
+| true | Normalize gravity related values |
+| false | Set to `true` to return the orientation values with respect to the actual north direction of the world instead of the head direction of the device |
+| false | Set to `true` to return screen adjusted values |
+| "" | The gyroscope's value is an object containing multiple values, which can be used by other widgets via the property maths syntax"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) |
+| "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) |