docs: add generated widget reference to repo
This commit is contained in:
parent
bb21512cc6
commit
6e33d434bd
1 changed files with 541 additions and 0 deletions
541
resources/docs/widgets-reference.md
Normal file
541
resources/docs/widgets-reference.md
Normal file
|
|
@ -0,0 +1,541 @@
|
|||
|
||||
|
||||
## Generic properties
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 id="type">type<a class="headerlink" href="#type" title="Permanent link">¶</a></h4> | `string` | <code>"auto"</code> | |
|
||||
| <h4 id="id">id<a class="headerlink" href="#id" title="Permanent link">¶</a></h4> | `string` | <code>"auto"</code> | Widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. |
|
||||
| <h4 id="linkId">linkId<a class="headerlink" href="#linkId" title="Permanent link">¶</a></h4> | `string`\|<br/>`array` | <code>""</code> | Widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.<br/><br/>When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)<br/><br/>When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending) |
|
||||
| <h4 class="thead2" id="geometry">geometry<a class="headerlink" href="#geometry" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="left">left<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#left" title="Permanent link">¶</a></h4> | `number`\|<br/>`string` | <code>"auto"</code> | 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).<br/><br/>Otherwise, the widget will be absolutely positioned |
|
||||
| <h4 id="top">top<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#top" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"auto"</code> | 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).<br/><br/>Otherwise, the widget will be absolutely positioned |
|
||||
| <h4 id="width">width<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#width" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"auto"</code> | |
|
||||
| <h4 id="height">height<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#height" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"auto"</code> | |
|
||||
| <h4 class="thead2" id="style">style<a class="headerlink" href="#style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="label">label<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#label" title="Permanent link">¶</a></h4> | `string`\|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<br/><br/>Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc |
|
||||
| <h4 id="color">color<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#color" title="Permanent link">¶</a></h4> | `string` | <code>"auto"</code> | CSS color code. Set to "auto" to inherit from parent widget. |
|
||||
| <h4 id="css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | CSS rules |
|
||||
| <h4 class="thead2" id="value">value<a class="headerlink" href="#value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="default">default<a class="headerlink" href="#default" title="Permanent link">¶</a></h4> | `*` | <code>""</code> | If set, the widget will be initialized with this value when the session is loaded. |
|
||||
| <h4 id="value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#value" title="Permanent link">¶</a></h4> | `*` | <code>""</code> | Define the widget's value depending on other widget's values / properties using property inheritance and property maths |
|
||||
| <h4 class="thead2" id="osc">osc<a class="headerlink" href="#osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="precision">precision<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#precision" title="Permanent link">¶</a></h4> | `integer`\|<br/>`string` | <code>2</code> | Defines the number of decimals to display and to send.<br/><br/>Set to `0` to send integers only.<br/><br/>Data type can be specified by appending a valid osc type tag to the precision value, for example : `3d` will make the widget send double precision numbers rounded to three decimals |
|
||||
| <h4 id="address">address<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#address" title="Permanent link">¶</a></h4> | `string` | <code>"auto"</code> | OSC address for sending messages, it must start with a / |
|
||||
| <h4 id="preArgs">preArgs<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#preArgs" title="Permanent link">¶</a></h4> | `*`\|<br/>`array` | <code>""</code> | A value or array of values that will be prepended to the OSC messages.<br/><br/>Values can be defined as objects if the osc type tag needs to be specified: `{type: "i", value: 1}` |
|
||||
| <h4 id="target">target<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#target" title="Permanent link">¶</a></h4> | `string`\|<br/>`array`\|<br/>`null` | <code>""</code> | This defines the targets of the widget's OSC messages<br/>- A `string` or `array` of strings formatted as follow: `ip:port` or `["ip:port"]`<br/>- If midi is enabled, targets can be `midi:device_name`<br/>- The special item `"self"` can be used to refer to the emitting client directly.<br/>- If no target is set, messages can still be sent if the server has default targets<br/>- The server's default targets can be bypassed by setting one of the items to `null` |
|
||||
| <h4 id="bypass">bypass<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#bypass" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent the widget from sending any osc message |
|
||||
|
||||
## Sliders
|
||||
|
||||
### fader
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="fader_style">style<a class="headerlink" href="#fader_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="fader_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#fader_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
|
||||
| <h4 class="thead2" id="fader_fader">fader<a class="headerlink" href="#fader_fader" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="fader_horizontal">horizontal<a class="headerlink" href="#fader_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the fader horizontally |
|
||||
| <h4 id="fader_alignRight">alignRight<a class="headerlink" href="#fader_alignRight" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to invert the pip's and fader's position |
|
||||
| <h4 id="fader_pips">pips<a class="headerlink" href="#fader_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="fader_input">input<a class="headerlink" href="#fader_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
|
||||
| <h4 id="fader_meter">meter<a class="headerlink" href="#fader_meter" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to true to display a vu-meter next in the fader<br/>- the meter's `id` will be the same as the widget's with `/meter` appended to it<br/>- the meter's `id` will be the same as the widget's with `/meter` appended to it |
|
||||
| <h4 id="fader_compact">compact<a class="headerlink" href="#fader_compact" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display. |
|
||||
| <h4 id="fader_dashed">dashed<a class="headerlink" href="#fader_dashed" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
|
||||
| <h4 id="fader_snap">snap<a class="headerlink" href="#fader_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | 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 |
|
||||
| <h4 id="fader_spring">spring<a class="headerlink" href="#fader_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h4 id="fader_doubleTap">doubleTap<a class="headerlink" href="#fader_doubleTap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 id="fader_range">range<a class="headerlink" href="#fader_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
|
||||
| <h4 id="fader_steps">steps<a class="headerlink" href="#fader_steps" title="Permanent link">¶</a></h4> | `string`\|<br/>`number`\|<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
|
||||
| <h4 id="fader_logScale">logScale<a class="headerlink" href="#fader_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale |
|
||||
| <h4 id="fader_unit">unit<a class="headerlink" href="#fader_unit" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="fader_origin">origin<a class="headerlink" href="#fader_origin" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the fader's gauge |
|
||||
| <h4 class="thead2" id="fader_osc">osc<a class="headerlink" href="#fader_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="fader_touchAddress">touchAddress<a class="headerlink" href="#fader_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
| <h4 id="fader_meterAddress">meterAddress<a class="headerlink" href="#fader_meterAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for the built-in meter |
|
||||
|
||||
### knob
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="knob_style">style<a class="headerlink" href="#knob_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="knob_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#knob_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;` |
|
||||
| <h4 class="thead2" id="knob_knob">knob<a class="headerlink" href="#knob_knob" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="knob_pips">pips<a class="headerlink" href="#knob_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="knob_input">input<a class="headerlink" href="#knob_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
|
||||
| <h4 id="knob_dashed">dashed<a class="headerlink" href="#knob_dashed" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
|
||||
| <h4 id="knob_angle">angle<a class="headerlink" href="#knob_angle" title="Permanent link">¶</a></h4> | `number` | <code>270</code> | Defines the angle's width of the knob, in degrees |
|
||||
| <h4 id="knob_snap">snap<a class="headerlink" href="#knob_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | 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 |
|
||||
| <h4 id="knob_spring">spring<a class="headerlink" href="#knob_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h4 id="knob_doubleTap">doubleTap<a class="headerlink" href="#knob_doubleTap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the knob reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 id="knob_range">range<a class="headerlink" href="#knob_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
|
||||
| <h4 id="knob_steps">steps<a class="headerlink" href="#knob_steps" title="Permanent link">¶</a></h4> | `string`\|<br/>`number`\|<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
|
||||
| <h4 id="knob_logScale">logScale<a class="headerlink" href="#knob_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale |
|
||||
| <h4 id="knob_unit">unit<a class="headerlink" href="#knob_unit" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="knob_origin">origin<a class="headerlink" href="#knob_origin" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the knob's gauge |
|
||||
| <h4 class="thead2" id="knob_osc">osc<a class="headerlink" href="#knob_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="knob_touchAddress">touchAddress<a class="headerlink" href="#knob_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
|
||||
### encoder
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="encoder_encoder">encoder<a class="headerlink" href="#encoder_encoder" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="encoder_ticks">ticks<a class="headerlink" href="#encoder_ticks" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | defines the granularity / verbosity of the encoder (number of step for a 360° arc) |
|
||||
| <h4 id="encoder_back">back<a class="headerlink" href="#encoder_back" title="Permanent link">¶</a></h4> | `*` | <code>-1</code> | Defines which value is sent when rotating the encoder anticlockwise |
|
||||
| <h4 id="encoder_forth">forth<a class="headerlink" href="#encoder_forth" title="Permanent link">¶</a></h4> | `*` | <code>1</code> | Defines which value is sent when rotating the encoder clockwise |
|
||||
| <h4 id="encoder_release">release<a class="headerlink" href="#encoder_release" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | Defines which value is sent when releasing the encoder:<br/>- Set to `null` to send send no argument in the osc message<br/>- Can be an `object` if the type needs to be specified |
|
||||
| <h4 id="encoder_snap">snap<a class="headerlink" href="#encoder_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | 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 |
|
||||
| <h4 id="encoder_doubleTap">doubleTap<a class="headerlink" href="#encoder_doubleTap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 class="thead2" id="encoder_osc">osc<a class="headerlink" href="#encoder_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="encoder_touchAddress">touchAddress<a class="headerlink" href="#encoder_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
|
||||
### range
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="range_style">style<a class="headerlink" href="#range_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="range_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#range_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
|
||||
| <h4 class="thead2" id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="range_range">range<a class="headerlink" href="#range_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | See fader's `range` |
|
||||
| <h4 id="range_horizontal">horizontal<a class="headerlink" href="#range_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `horizontal` |
|
||||
| <h4 id="range_alignRight">alignRight<a class="headerlink" href="#range_alignRight" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `alignRight` |
|
||||
| <h4 id="range_input">input<a class="headerlink" href="#range_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | See fader's `input` |
|
||||
| <h4 id="range_compact">compact<a class="headerlink" href="#range_compact" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `compact` |
|
||||
| <h4 id="range_pips">pips<a class="headerlink" href="#range_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | See fader's `pips` |
|
||||
| <h4 id="range_snap">snap<a class="headerlink" href="#range_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `snap` |
|
||||
| <h4 id="range_spring">spring<a class="headerlink" href="#range_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `spring` |
|
||||
| <h4 id="range_logScale">logScale<a class="headerlink" href="#range_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `logScale` |
|
||||
| <h4 class="thead2" id="range_osc">osc<a class="headerlink" href="#range_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="range_touchAddress">touchAddress<a class="headerlink" href="#range_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | See fader's `touchAddress` |
|
||||
| <h4 id="range_split">split<a class="headerlink" href="#range_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`object` | <code>false</code> | 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<br/><br/>Can be set as an object to specify a different `address` : `['/osc_address_low', '/osc_address_high']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |
|
||||
|
||||
## Buttons
|
||||
|
||||
### toggle
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="toggle_toggle">toggle<a class="headerlink" href="#toggle_toggle" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="toggle_doubleTap">doubleTap<a class="headerlink" href="#toggle_doubleTap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the button require a double tap to be toggled instead of a single tap |
|
||||
| <h4 id="toggle_led">led<a class="headerlink" href="#toggle_led" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the toggle's state with a led |
|
||||
| <h4 id="toggle_on">on<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#toggle_on" title="Permanent link">¶</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="toggle_off">off<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#toggle_off" title="Permanent link">¶</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
|
||||
### push
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="push_push">push<a class="headerlink" href="#push_push" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="push_on">on<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_on" title="Permanent link">¶</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="push_off">off<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_off" title="Permanent link">¶</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="push_norelease">norelease<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#push_norelease" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent sending any osc message when releasing the button |
|
||||
|
||||
### switch
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="switch_switch">switch<a class="headerlink" href="#switch_switch" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="switch_horizontal">horizontal<a class="headerlink" href="#switch_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
|
||||
| <h4 id="switch_showValues">showValues<a class="headerlink" href="#switch_showValues" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | If values is an object, set to `true` to display both values and labels instead of labels only |
|
||||
| <h4 id="switch_values">values<a class="headerlink" href="#switch_values" title="Permanent link">¶</a></h4> | `array`\|<br/>`object` | <code>{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of `"label":value` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |
|
||||
|
||||
### dropdown
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="dropdown_dropdown">dropdown<a class="headerlink" href="#dropdown_dropdown" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="dropdown_values">values<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#dropdown_values" title="Permanent link">¶</a></h4> | `array`\|<br/>`object` | <code>{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | `Array` of possible values to switch between : `[1,2,3]`<br/><br/>`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept<br/><br/>An empty option will always be prepended to values (sends an osc message without any value); it can be hidden by adding `option:first-child{display:none}` to the widget's `css` |
|
||||
|
||||
## Pads
|
||||
|
||||
### xy
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="xy_style">style<a class="headerlink" href="#xy_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="xy_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#xy_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--background: background;`: sets the dragging area's background<br/>- `--pips-color: color;`<br/>- `--pips-opacity: number;`<br/>- `--point-opacity: number;` |
|
||||
| <h4 class="thead2" id="xy_xy">xy<a class="headerlink" href="#xy_xy" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="xy_pointSize">pointSize<a class="headerlink" href="#xy_pointSize" title="Permanent link">¶</a></h4> | `integer` | <code>20</code> | Defines the points' size |
|
||||
| <h4 id="xy_snap">snap<a class="headerlink" href="#xy_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
|
||||
| <h4 id="xy_spring">spring<a class="headerlink" href="#xy_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h4 id="xy_pips">pips<a class="headerlink" href="#xy_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="xy_rangeX">rangeX<a class="headerlink" href="#xy_rangeX" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h4 id="xy_rangeY">rangeY<a class="headerlink" href="#xy_rangeY" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="xy_logScaleX">logScaleX<a class="headerlink" href="#xy_logScaleX" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (log10) |
|
||||
| <h4 id="xy_logScaleY">logScaleY<a class="headerlink" href="#xy_logScaleY" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (log10) |
|
||||
| <h4 id="xy_input">input<a class="headerlink" href="#xy_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to false to hide the built-in input widget |
|
||||
| <h4 id="xy_doubleTap">doubleTap<a class="headerlink" href="#xy_doubleTap" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`string` | <code>false</code> | Set to `true` to make the fader reset to its default value when receiving a double tap.<br/><br/>Can also be an osc address, which case the widget will just send an osc message: `/<doubleTap> <preArgs>` |
|
||||
| <h4 class="thead2" id="xy_osc">osc<a class="headerlink" href="#xy_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="xy_touchAddress">touchAddress<a class="headerlink" href="#xy_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1`) |
|
||||
| <h4 id="xy_split">split<a class="headerlink" href="#xy_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`object` | <code>false</code> | 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<br/><br/>Can be set as an `object` to specify a different address : ['/osc_address_x', '/osc_address_y']<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |
|
||||
|
||||
### rgb
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="rgb_rgb">rgb<a class="headerlink" href="#rgb_rgb" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="rgb_snap">snap<a class="headerlink" href="#rgb_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
|
||||
| <h4 id="rgb_spring">spring<a class="headerlink" href="#rgb_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h4 id="rgb_range">range<a class="headerlink" href="#rgb_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 255<br/>}</code> | Defines the widget's output scale. |
|
||||
| <h4 id="rgb_input">input<a class="headerlink" href="#rgb_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input widget |
|
||||
| <h4 id="rgb_alpha">alpha<a class="headerlink" href="#rgb_alpha" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to enable alpha channel |
|
||||
| <h4 class="thead2" id="rgb_osc">osc<a class="headerlink" href="#rgb_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="rgb_split">split<a class="headerlink" href="#rgb_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`object` | <code>false</code> | 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<br/><br/>Can be set as an `object` to specify a different address : `['/r', '/g', 'b']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |
|
||||
|
||||
### multixy
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="multixy_style">style<a class="headerlink" href="#multixy_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multixy_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#multixy_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--background: background;`: sets the dragging area's background<br/>- `--pips-color: color;`<br/>- `--pips-opacity: number;`<br/>- `--color-text: point-color;`<br/><br/>Pads can be targetted individually with the .pad-X selector (where X is the pad's index) |
|
||||
| <h4 class="thead2" id="multixy_multi xy">multi xy<a class="headerlink" href="#multixy_multi xy" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multixy_points">points<a class="headerlink" href="#multixy_points" title="Permanent link">¶</a></h4> | `integer`\|<br/>`array` | <code>2</code> | Defines the number of points on the pad<br/><br/>Can be an array of strings that will be used as labels for the points (ex: `['A', 'B']`) |
|
||||
| <h4 class="thead2" id="multixy_xy">xy<a class="headerlink" href="#multixy_xy" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multixy_pointSize">pointSize<a class="headerlink" href="#multixy_pointSize" title="Permanent link">¶</a></h4> | `integer` | <code>20</code> | Defines the points' size |
|
||||
| <h4 id="multixy_snap">snap<a class="headerlink" href="#multixy_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | By default, the points are dragged from their initial position.<br/><br/>If set to `true`, touching anywhere on the widget's surface will make them snap to the touching coordinates |
|
||||
| <h4 id="multixy_spring">spring<a class="headerlink" href="#multixy_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its default value when released |
|
||||
| <h4 id="multixy_pips">pips<a class="headerlink" href="#multixy_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="multixy_rangeX">rangeX<a class="headerlink" href="#multixy_rangeX" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h4 id="multixy_rangeY">rangeY<a class="headerlink" href="#multixy_rangeY" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="multixy_logScaleX">logScaleX<a class="headerlink" href="#multixy_logScaleX" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (log10) |
|
||||
| <h4 id="multixy_logScaleY">logScaleY<a class="headerlink" href="#multixy_logScaleY" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (log10) |
|
||||
| <h4 class="thead2" id="multixy_osc">osc<a class="headerlink" href="#multixy_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multixy_touchAddress">touchAddress<a class="headerlink" href="#multixy_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
| <h4 id="multixy_split">split<a class="headerlink" href="#multixy_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`object` | <code>false</code> | 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)<br/><br/>Can be set as an `object` to specify a different address : `['/0/x', '/0/y', '/1/x', '/2/y']`<br/><br/>Note: the widget will only respond to its original osc address, not to the splitted version |
|
||||
|
||||
## Matrices
|
||||
|
||||
### matrix
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="matrix_matrix">matrix<a class="headerlink" href="#matrix_matrix" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="matrix_widgetType">widgetType<a class="headerlink" href="#matrix_widgetType" title="Permanent link">¶</a></h4> | `string` | <code>"toggle"</code> | Defines the type of the widgets in the matrix |
|
||||
| <h4 id="matrix_matrix">matrix<a class="headerlink" href="#matrix_matrix" title="Permanent link">¶</a></h4> | `array` | <code>[<br/> 2,<br/> 2<br/>]</code> | Defines the number of columns and and rows in the matrix |
|
||||
| <h4 id="matrix_start">start<a class="headerlink" href="#matrix_start" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | First widget's index |
|
||||
| <h4 id="matrix_spacing">spacing<a class="headerlink" href="#matrix_spacing" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | Adds space between widgets |
|
||||
| <h4 id="matrix_traversing">traversing<a class="headerlink" href="#matrix_traversing" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 id="matrix_border">border<a class="headerlink" href="#matrix_border" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disables the widgets' borders |
|
||||
| <h4 id="matrix_props">props<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#matrix_props" title="Permanent link">¶</a></h4> | `object` | <code>{}</code> | Defines a set of property to override the widgets' defaults.<br/><br/>Formulas in this field are resolved with an extra variable representing each widget's index: `$` |
|
||||
|
||||
### multifader
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="multifader_matrix">matrix<a class="headerlink" href="#multifader_matrix" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multifader_strips">strips<a class="headerlink" href="#multifader_strips" title="Permanent link">¶</a></h4> | `integer` | <code>2</code> | Number of faders in the row, each fader will inherit its parent's properties and the following ones (where i is the fader's index in the row)<br/>- `id`: same as the widget's with /i appended to it<br/>- `label`: i<br/>- `address`: see split |
|
||||
| <h4 id="multifader_start">start<a class="headerlink" href="#multifader_start" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | First widget's index |
|
||||
| <h4 id="multifader_traversing">traversing<a class="headerlink" href="#multifader_traversing" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 class="thead2" id="multifader_fader">fader<a class="headerlink" href="#multifader_fader" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multifader_range">range<a class="headerlink" href="#multifader_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | See fader's `range` |
|
||||
| <h4 id="multifader_logScale">logScale<a class="headerlink" href="#multifader_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `logScale` |
|
||||
| <h4 id="multifader_origin">origin<a class="headerlink" href="#multifader_origin" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | See fader's `origin` |
|
||||
| <h4 id="multifader_unit">unit<a class="headerlink" href="#multifader_unit" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | See fader's `unit` |
|
||||
| <h4 id="multifader_alignRight">alignRight<a class="headerlink" href="#multifader_alignRight" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `alignRight` |
|
||||
| <h4 id="multifader_horizontal">horizontal<a class="headerlink" href="#multifader_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `horizontal` |
|
||||
| <h4 id="multifader_pips">pips<a class="headerlink" href="#multifader_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `pips` |
|
||||
| <h4 id="multifader_dashed">dashed<a class="headerlink" href="#multifader_dashed" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `dashed` |
|
||||
| <h4 id="multifader_snap">snap<a class="headerlink" href="#multifader_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | See fader's `snap` |
|
||||
| <h4 id="multifader_meter">meter<a class="headerlink" href="#multifader_meter" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `meter` |
|
||||
| <h4 id="multifader_input">input<a class="headerlink" href="#multifader_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | See fader's `input` |
|
||||
| <h4 id="multifader_compact">compact<a class="headerlink" href="#multifader_compact" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | See fader's `compact` |
|
||||
| <h4 class="thead2" id="multifader_osc">osc<a class="headerlink" href="#multifader_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multifader_split">split<a class="headerlink" href="#multifader_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`string` | <code>false</code> | - `true`: the widget's index will be appended to the matrice's osc address<br/>- `false`: it will be prepended to the widget's preArgs<br/>- `string`: will be used to define the widgets' addresses, replacing dollar signs (`$`) with their respective index (to insert the actual dollar sign, it must be escaped with a backslash (`\$`)) |
|
||||
|
||||
### multitoggle
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="multitoggle_matrix">matrix<a class="headerlink" href="#multitoggle_matrix" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multitoggle_matrix">matrix<a class="headerlink" href="#multitoggle_matrix" title="Permanent link">¶</a></h4> | `array` | <code>[<br/> 2,<br/> 2<br/>]</code> | Defines the number of columns and and rows in the matrix. Each cell will contain a toggle button that will inherit its parent's properties and the following ones (where i is the toggle's index)<br/>- `id`: same as the widget's with /i appended to it<br/>- `label`: i<br/>- `address`: see split |
|
||||
| <h4 id="multitoggle_start">start<a class="headerlink" href="#multitoggle_start" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | First widget's index |
|
||||
| <h4 id="multitoggle_spacing">spacing<a class="headerlink" href="#multitoggle_spacing" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | Adds space between widgets |
|
||||
| <h4 id="multitoggle_traversing">traversing<a class="headerlink" href="#multitoggle_traversing" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 class="thead2" id="multitoggle_toggle">toggle<a class="headerlink" href="#multitoggle_toggle" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multitoggle_led">led<a class="headerlink" href="#multitoggle_led" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the toggle's state with a led |
|
||||
| <h4 id="multitoggle_on">on<a class="headerlink" href="#multitoggle_on" title="Permanent link">¶</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="multitoggle_off">off<a class="headerlink" href="#multitoggle_off" title="Permanent link">¶</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see `preArgs`) |
|
||||
| <h4 class="thead2" id="multitoggle_osc">osc<a class="headerlink" href="#multitoggle_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multitoggle_split">split<a class="headerlink" href="#multitoggle_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`string` | <code>false</code> | `true`: the widget's index will be appended to the matrice's osc address<br/><br/>`false`: it will be prepended to the widget's `preArgs`<br/><br/>`string`: will be used to define the widgets' addresses, replacing dollar signs (`$`) with their respective index (to insert the actual dollar sign, it must be escaped with a backslash (`\$`)) |
|
||||
|
||||
### multipush
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="multipush_matrix">matrix<a class="headerlink" href="#multipush_matrix" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multipush_matrix">matrix<a class="headerlink" href="#multipush_matrix" title="Permanent link">¶</a></h4> | `array` | <code>[<br/> 2,<br/> 2<br/>]</code> | Defines the number of columns and and rows in the matrix. Each cell will contain a push button that will inherit its parent's properties and the following ones (where i is the push's index)<br/>- `id`: same as the widget's with /i appended to it<br/>- `label`: i<br/>- `address`: see split |
|
||||
| <h4 id="multipush_start">start<a class="headerlink" href="#multipush_start" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | First widget's index |
|
||||
| <h4 id="multipush_traversing">traversing<a class="headerlink" href="#multipush_traversing" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 id="multipush_spacing">spacing<a class="headerlink" href="#multipush_spacing" title="Permanent link">¶</a></h4> | `integer` | <code>0</code> | Adds space between widgets |
|
||||
| <h4 class="thead2" id="multipush_push">push<a class="headerlink" href="#multipush_push" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multipush_on">on<a class="headerlink" href="#multipush_on" title="Permanent link">¶</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="multipush_off">off<a class="headerlink" href="#multipush_off" title="Permanent link">¶</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="multipush_norelease">norelease<a class="headerlink" href="#multipush_norelease" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to prevent sending any osc message when releasing the button |
|
||||
| <h4 class="thead2" id="multipush_osc">osc<a class="headerlink" href="#multipush_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="multipush_split">split<a class="headerlink" href="#multipush_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`string` | <code>false</code> | `true`: the widget's index will be appended to the matrice's osc address<br/><br/>`false`: it will be prepended to the widget's preArgs<br/><br/>`string`: will be used to define the widgets' addresses, replacing dollar signs (`$`) with their respective index (to insert the actual dollar sign, it must be escaped with a backslash (`\$`)) |
|
||||
|
||||
### keyboard
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="keyboard_style">style<a class="headerlink" href="#keyboard_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="keyboard_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keyboard_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-white:color;` (white keys color)<br/>- `--color-black:color;` (black keys color) |
|
||||
| <h4 class="thead2" id="keyboard_matrix">matrix<a class="headerlink" href="#keyboard_matrix" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="keyboard_keys">keys<a class="headerlink" href="#keyboard_keys" title="Permanent link">¶</a></h4> | `number` | <code>25</code> | Defines the number keys |
|
||||
| <h4 id="keyboard_start">start<a class="headerlink" href="#keyboard_start" title="Permanent link">¶</a></h4> | `number` | <code>48</code> | MIDI note number to start with (default is C4)<br/><br/>Standard keyboards settings are: `[25, 48]`, `[49, 36]`, `[61, 36]`, `[88, 21]` |
|
||||
| <h4 id="keyboard_traversing">traversing<a class="headerlink" href="#keyboard_traversing" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable traversing gestures |
|
||||
| <h4 id="keyboard_on">on<a class="headerlink" href="#keyboard_on" title="Permanent link">¶</a></h4> | `*` | <code>1</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 id="keyboard_off">off<a class="headerlink" href="#keyboard_off" title="Permanent link">¶</a></h4> | `*` | <code>0</code> | Set to `null` to send send no argument in the osc message<br/><br/>Can be an `object` if the type needs to be specified (see preArgs) |
|
||||
| <h4 class="thead2" id="keyboard_osc">osc<a class="headerlink" href="#keyboard_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="keyboard_split">split<a class="headerlink" href="#keyboard_split" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`string` | <code>false</code> | `true`: the widget's index will be appended to the matrice's osc address<br/><br/>`false`: it will be prepended to the widget's preArgs<br/><br/>`string`: will be used to define the widgets' addresses, replacing dollar signs (`$`) with their respective index (to insert the actual dollar sign, it must be escaped with a backslash (`\$`)) |
|
||||
|
||||
## Plots
|
||||
|
||||
### plot
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="plot_plot">plot<a class="headerlink" href="#plot_plot" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="plot_rangeX">rangeX<a class="headerlink" href="#plot_rangeX" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the x axis |
|
||||
| <h4 id="plot_rangeY">rangeY<a class="headerlink" href="#plot_rangeY" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="plot_logScaleX">logScaleX<a class="headerlink" href="#plot_logScaleX" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (log10) |
|
||||
| <h4 id="plot_logScaleY">logScaleY<a class="headerlink" href="#plot_logScaleY" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis (log10) |
|
||||
| <h4 id="plot_origin">origin<a class="headerlink" href="#plot_origin" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it. |
|
||||
| <h4 id="plot_dots">dots<a class="headerlink" href="#plot_dots" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | |
|
||||
| <h4 id="plot_bars">bars<a class="headerlink" href="#plot_bars" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use draw bars instead (disables `logScaleX` and forces `x axis` even spacing) |
|
||||
| <h4 id="plot_smooth">smooth<a class="headerlink" href="#plot_smooth" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
|
||||
| <h4 id="plot_pips">pips<a class="headerlink" href="#plot_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 class="thead2" id="plot_value">value<a class="headerlink" href="#plot_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="plot_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#plot_value" title="Permanent link">¶</a></h4> | `array`\|<br/>`string` | <code>""</code> | - `Array` of `y` values<br/>- `Array` of `[x, y]` `array` values<br/>- `String` `array`<br/>- `String` `object` to update specific coordinates only: `{0:1, 4:0}` will change the 1st and 5th points' coordinates |
|
||||
|
||||
### eq
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="eq_eq">eq<a class="headerlink" href="#eq_eq" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="eq_pips">pips<a class="headerlink" href="#eq_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to false to hide the scale |
|
||||
| <h4 id="eq_resolution">resolution<a class="headerlink" href="#eq_resolution" title="Permanent link">¶</a></h4> | `number` | <code>128</code> | Defines the number of points used to compute the frequency response |
|
||||
| <h4 id="eq_rangeY">rangeY<a class="headerlink" href="#eq_rangeY" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="eq_origin">origin<a class="headerlink" href="#eq_origin" title="Permanent link">¶</a></h4> | `number`\|<br/>`boolean` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
|
||||
| <h4 id="eq_logScaleX">logScaleX<a class="headerlink" href="#eq_logScaleX" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the x axis (log10) |
|
||||
| <h4 id="eq_smooth">smooth<a class="headerlink" href="#eq_smooth" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`number` | <code>false</code> | 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 |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="visualizer_visualizer">visualizer<a class="headerlink" href="#visualizer_visualizer" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="visualizer_duration">duration<a class="headerlink" href="#visualizer_duration" title="Permanent link">¶</a></h4> | `number` | <code>1</code> | Defines visualization duration in seconds |
|
||||
| <h4 id="visualizer_range">range<a class="headerlink" href="#visualizer_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the min and max values for the y axis |
|
||||
| <h4 id="visualizer_origin">origin<a class="headerlink" href="#visualizer_origin" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | Defines the y axis origin. Set to `false` to disable it |
|
||||
| <h4 id="visualizer_logScale">logScale<a class="headerlink" href="#visualizer_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale for the y axis |
|
||||
| <h4 id="visualizer_smooth">smooth<a class="headerlink" href="#visualizer_smooth" title="Permanent link">¶</a></h4> | `boolean`\|<br/>`number` | <code>false</code> | Set to `true` to make the line smooth. Float values are also acceptable (works fine between `0` and `0.5`) |
|
||||
| <h4 id="visualizer_pips">pips<a class="headerlink" href="#visualizer_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
|
||||
### led
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="led_led">led<a class="headerlink" href="#led_led" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="led_range">range<a class="headerlink" href="#led_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Value to led intensity mapping range |
|
||||
| <h4 id="led_logScale">logScale<a class="headerlink" href="#led_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use a logarithmic mapping scale) |
|
||||
|
||||
### rgbled
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="rgbled_value">value<a class="headerlink" href="#rgbled_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="rgbled_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#rgbled_value" title="Permanent link">¶</a></h4> | `array`\|<br/>`string` | <code>""</code> | - `Array`: `[r, g, b]` (`r`, `g` and `b` between `0` and `255`)<br/>- `Array`: `[r, g, b, alpha]` (`alpha` between `0` and `255`)<br/>- `String`: CSS color |
|
||||
|
||||
### meter
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="meter_style">style<a class="headerlink" href="#meter_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="meter_css">css<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#meter_css" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Available CSS variables:<br/>- `--color-gauge: color;`<br/>- `--color-knob: color;`<br/>- `--color-pips: color;`<br/>- `--gauge-opacity: number;` |
|
||||
| <h4 class="thead2" id="meter_fader">fader<a class="headerlink" href="#meter_fader" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="meter_horizontal">horizontal<a class="headerlink" href="#meter_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the fader horizontally |
|
||||
| <h4 id="meter_alignRight">alignRight<a class="headerlink" href="#meter_alignRight" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to invert the pip's and fader's position |
|
||||
| <h4 id="meter_pips">pips<a class="headerlink" href="#meter_pips" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the scale |
|
||||
| <h4 id="meter_input">input<a class="headerlink" href="#meter_input" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to hide the built-in input |
|
||||
| <h4 id="meter_meter">meter<a class="headerlink" href="#meter_meter" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to true to display a vu-meter next in the fader<br/>- the meter's `id` will be the same as the widget's with `/meter` appended to it<br/>- the meter's `id` will be the same as the widget's with `/meter` appended to it |
|
||||
| <h4 id="meter_compact">compact<a class="headerlink" href="#meter_compact" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a compact alternative for the widget. Disables default mouse/touch focusing on the value display. |
|
||||
| <h4 id="meter_dashed">dashed<a class="headerlink" href="#meter_dashed" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display a dashed gauge |
|
||||
| <h4 id="meter_snap">snap<a class="headerlink" href="#meter_snap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | 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 |
|
||||
| <h4 id="meter_spring">spring<a class="headerlink" href="#meter_spring" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | When set to `true`, the widget will go back to its `default` value when released |
|
||||
| <h4 id="meter_doubleTap">doubleTap<a class="headerlink" href="#meter_doubleTap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the fader reset to its `default` value when receiving a double tap.<br/><br/>Can also be an osc address, in which case the widget will just send an osc message (`/<doubleTap> <preArgs>`) |
|
||||
| <h4 id="meter_range">range<a class="headerlink" href="#meter_range" title="Permanent link">¶</a></h4> | `object` | <code>{<br/> "min": 0,<br/> "max": 1<br/>}</code> | Defines the breakpoints of the fader's scale:<br/>- keys can be percentages and/or `min` / `max`<br/>- values can be `number` or `object` if a custom label is needed<br/><br/>Example: (`{min:{"-inf": 0}, "50%": 0.25, max: {"+inf": 1}}`) |
|
||||
| <h4 id="meter_steps">steps<a class="headerlink" href="#meter_steps" title="Permanent link">¶</a></h4> | `string`\|<br/>`number`\|<br/>`array` | <code>""</code> | Restricts the widget's value:<br/>- `auto`: use values defined in `range`<br/>- `number`: define a number of evenly spaced steps<br/>- `array`: use arbitrary values |
|
||||
| <h4 id="meter_logScale">logScale<a class="headerlink" href="#meter_logScale" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to use logarithmic scale |
|
||||
| <h4 id="meter_unit">unit<a class="headerlink" href="#meter_unit" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="meter_origin">origin<a class="headerlink" href="#meter_origin" title="Permanent link">¶</a></h4> | `number` | <code>"auto"</code> | Defines the starting point's value of the fader's gauge |
|
||||
| <h4 class="thead2" id="meter_osc">osc<a class="headerlink" href="#meter_osc" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="meter_touchAddress">touchAddress<a class="headerlink" href="#meter_touchAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for touched state messages: `/touchAddress [preArgs] 0/1` |
|
||||
| <h4 id="meter_meterAddress">meterAddress<a class="headerlink" href="#meter_meterAddress" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | OSC address for the built-in meter |
|
||||
|
||||
### text
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="text_text">text<a class="headerlink" href="#text_text" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="text_vertical">vertical<a class="headerlink" href="#text_vertical" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
|
||||
| <h4 id="text_wrap">wrap<a class="headerlink" href="#text_wrap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to wrap long lines automatically.<br/><br/>This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property |
|
||||
| <h4 id="text_align">align<a class="headerlink" href="#text_align" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Set to `left` or `right` to change text alignment (otherwise center) |
|
||||
|
||||
### image
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="image_image">image<a class="headerlink" href="#image_image" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="image_size">size<a class="headerlink" href="#image_size" title="Permanent link">¶</a></h4> | `string` | <code>"cover"</code> | CSS background-size |
|
||||
| <h4 id="image_position">position<a class="headerlink" href="#image_position" title="Permanent link">¶</a></h4> | `string` | <code>"center"</code> | CSS background-position |
|
||||
| <h4 id="image_repeat">repeat<a class="headerlink" href="#image_repeat" title="Permanent link">¶</a></h4> | `string` | <code>"no-repear"</code> | CSS background-repeat |
|
||||
| <h4 id="image_border">border<a class="headerlink" href="#image_border" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |
|
||||
| <h4 id="image_cache">cache<a class="headerlink" href="#image_cache" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to false to disable image caching (forces file reload when updating or editing the widget).<br/><br/>When true, sending `reload` to the widget reloads its image without changing its value |
|
||||
| <h4 class="thead2" id="image_value">value<a class="headerlink" href="#image_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="image_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#image_value" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | - File `url` or `absolute path`<br/>- Base64 encoded image : `data:image/...` |
|
||||
|
||||
### svg
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="svg_svg">svg<a class="headerlink" href="#svg_svg" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="svg_svg">svg<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#svg_svg" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Svg xml definition:<br/>- will be wrapped in a `<svg></svg>` element<br/>- `<path>` commands support a special percent notation (`%x` and `%y`) |
|
||||
|
||||
### frame
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="frame_style">style<a class="headerlink" href="#frame_style" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="frame_label">label<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#frame_label" title="Permanent link">¶</a></h4> | `string`\|<br/>`boolean` | <code>"auto"</code> | Set to `false` to hide completely<br/><br/>Insert icons using the prefix ^ followed by the icon's name : ^play, ^pause, etc<br/><br/>If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected |
|
||||
| <h4 class="thead2" id="frame_frame">frame<a class="headerlink" href="#frame_frame" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="frame_border">border<a class="headerlink" href="#frame_border" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable the borders and background-color |
|
||||
| <h4 class="thead2" id="frame_value">value<a class="headerlink" href="#frame_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="frame_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#frame_value" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | 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
|
||||
|
||||
### panel
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="panel_panel">panel<a class="headerlink" href="#panel_panel" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="panel_scroll">scroll<a class="headerlink" href="#panel_scroll" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h4 id="panel_border">border<a class="headerlink" href="#panel_border" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | 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 |
|
||||
| <h4 class="thead2" id="panel_value">value<a class="headerlink" href="#panel_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="panel_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#panel_value" title="Permanent link">¶</a></h4> | `integer` | <code>""</code> | Defines currently opened tab in the widget<br/><br/>A tab can be opened only by setting its parent's value |
|
||||
| <h4 class="thead2" id="panel_children">children<a class="headerlink" href="#panel_children" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="panel_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#panel_variables" title="Permanent link">¶</a></h4> | `*` | <code>"@{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="panel_widgets">widgets<a class="headerlink" href="#panel_widgets" title="Permanent link">¶</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. |
|
||||
| <h4 id="panel_tabs">tabs<a class="headerlink" href="#panel_tabs" title="Permanent link">¶</a></h4> | `array` | <code>[]</code> | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously |
|
||||
|
||||
### strip
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="strip_strip">strip<a class="headerlink" href="#strip_strip" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="strip_scroll">scroll<a class="headerlink" href="#strip_scroll" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to disable scrollbars |
|
||||
| <h4 id="strip_horizontal">horizontal<a class="headerlink" href="#strip_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display widgets horizontally |
|
||||
| <h4 id="strip_stretch">stretch<a class="headerlink" href="#strip_stretch" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `true` to stretch widgets evenly |
|
||||
| <h4 id="strip_border">border<a class="headerlink" href="#strip_border" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | 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 |
|
||||
| <h4 id="strip_spacing">spacing<a class="headerlink" href="#strip_spacing" title="Permanent link">¶</a></h4> | `integer`\|<br/>`percentage` | <code>0</code> | Adds space between widgets. Percents are always relative to the strips width |
|
||||
| <h4 class="thead2" id="strip_children">children<a class="headerlink" href="#strip_children" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="strip_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#strip_variables" title="Permanent link">¶</a></h4> | `*` | <code>"@{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="strip_widgets">widgets<a class="headerlink" href="#strip_widgets" title="Permanent link">¶</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object<br/>- By default, children widgets that don't have an explicit `width`/`height` set will be shrinked to respect the sizes specified by others<br/>- Adding `flex:1;` to a children's `css` will give it the ability the fill the remaining space<br/>- Multiple children can have a `flex:x;` css property (`x` will ponderate their expansion) |
|
||||
|
||||
### modal
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="modal_modal">modal<a class="headerlink" href="#modal_modal" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="modal_doubleTap">doubleTap<a class="headerlink" href="#modal_doubleTap" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to make the modal require a double tap to open instead of a single tap |
|
||||
| <h4 id="modal_popupLabel">popupLabel<a class="headerlink" href="#modal_popupLabel" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Alternative label for the modal popup |
|
||||
| <h4 id="modal_popupWidth">popupWidth<a class="headerlink" href="#modal_popupWidth" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
|
||||
| <h4 id="modal_popupHeight">popupHeight<a class="headerlink" href="#modal_popupHeight" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"80%"</code> | Modal popup's size |
|
||||
| <h4 id="modal_popupLeft">popupLeft<a class="headerlink" href="#modal_popupLeft" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
|
||||
| <h4 id="modal_popupTop">popupTop<a class="headerlink" href="#modal_popupTop" title="Permanent link">¶</a></h4> | `number`\|<br/>`percentage` | <code>"auto"</code> | Modal popup's position |
|
||||
| <h4 class="thead2" id="modal_value">value<a class="headerlink" href="#modal_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="modal_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_value" title="Permanent link">¶</a></h4> | `integer` | <code>""</code> | Defines the modal's state:`0` for closed, `1` for opened |
|
||||
| <h4 class="thead2" id="modal_children">children<a class="headerlink" href="#modal_children" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="modal_variables">variables<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#modal_variables" title="Permanent link">¶</a></h4> | `*` | <code>"@{parent.variables}"</code> | Defines one or more arbitrary variables that can be inherited by children widgets |
|
||||
| <h4 id="modal_widgets">widgets<a class="headerlink" href="#modal_widgets" title="Permanent link">¶</a></h4> | `array` | <code>[]</code> | Each element of the array must be a widget object |
|
||||
|
||||
### clone
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="clone_clone">clone<a class="headerlink" href="#clone_clone" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="clone_widgetId">widgetId<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#clone_widgetId" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | `id` of the widget to clone |
|
||||
| <h4 class="thead2" id="clone_overrides">overrides<a class="headerlink" href="#clone_overrides" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="clone_props">props<a class="headerlink" href="#clone_props" title="Permanent link">¶</a></h4> | `object` | <code>{}</code> | Cloned widget's properties to override |
|
||||
|
||||
## Switchers
|
||||
|
||||
### switcher
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="switcher_switcher">switcher<a class="headerlink" href="#switcher_switcher" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="switcher_linkedWidgets">linkedWidgets<a class="headerlink" href="#switcher_linkedWidgets" title="Permanent link">¶</a></h4> | `string`\|<br/>`array` | <code>""</code> | - `String`: a widget's `id` whose state changes will be stored<br/>- `Array`: a list of widget `id` string |
|
||||
| <h4 id="switcher_horizontal">horizontal<a class="headerlink" href="#switcher_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
|
||||
| <h4 id="switcher_values">values<a class="headerlink" href="#switcher_values" title="Permanent link">¶</a></h4> | `array`\|<br/>`object` | <code>{<br/> "Value 1": 1,<br/> "Value 2": 2<br/>}</code> | Each item represents a bank that stores the values from the widgets listed in `linkedWidgets`<br/>- `Array` of possible values to switch between : `[1,2,3]`<br/>- `Object` of `"label":value` pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept |
|
||||
|
||||
### crossfader
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="crossfader_crossfader">crossfader<a class="headerlink" href="#crossfader_crossfader" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="crossfader_linkedWidgets">linkedWidgets<a class="headerlink" href="#crossfader_linkedWidgets" title="Permanent link">¶</a></h4> | `string`\|<br/>`array` | <code>""</code> | - `String`: a widget's `id` whose state changes will be stored<br/>- `Array`: a list of widget `id` string |
|
||||
| <h4 id="crossfader_horizontal">horizontal<a class="headerlink" href="#crossfader_horizontal" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display values horizontally |
|
||||
|
||||
## Inputs
|
||||
|
||||
### input
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="input_input">input<a class="headerlink" href="#input_input" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="input_vertical">vertical<a class="headerlink" href="#input_vertical" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to display the text vertically |
|
||||
| <h4 id="input_align">align<a class="headerlink" href="#input_align" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Set to `left` or `right` to change text alignment (otherwise center) |
|
||||
| <h4 id="input_unit">unit<a class="headerlink" href="#input_unit" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Unit will be appended to the displayed widget's value (it doesn't affect osc messages) |
|
||||
| <h4 id="input_editable">editable<a class="headerlink" href="#input_editable" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to make the input non-editable |
|
||||
|
||||
### keys
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="keys_keys">keys<a class="headerlink" href="#keys_keys" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="keys_binding">binding<a class="headerlink" href="#keys_binding" title="Permanent link">¶</a></h4> | `string`\|<br/>`array` | <code>""</code> | Key combo `string` or `array` of strings (see <a href="https://github.com/RobertWHurst/KeyboardJS">KeyboardJS</a> documentation) |
|
||||
| <h4 id="keys_keydown">keydown<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_keydown" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | This property is evaluated each time the key combo is pressed. Formulas are given extras variables in this context:<br/>- `key`: pressed key name (usefull for handling multiple keys with a single keys widget)<br/>- `ctrl`: control key state<br/>- `alt`: alt key state<br/>- `shift`: shift key state<br/>- `super`: command/windows key state |
|
||||
| <h4 id="keys_keyup">keyup<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_keyup" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | Same as `keydown`, but evaluated when releasing the key combo |
|
||||
| <h4 id="keys_repeat">repeat<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#keys_repeat" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Set to `false` to prevent keydown repeats when holding the key combo pressed |
|
||||
|
||||
### script
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="script_script">script<a class="headerlink" href="#script_script" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="script_condition">condition<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#script_condition" title="Permanent link">¶</a></h4> | `string` | <code>1</code> | 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:<br/>- `value`: the value received by the widget |
|
||||
| <h4 id="script_script">script<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#script_script" title="Permanent link">¶</a></h4> | `string` | <code>""</code> | This property is evaluated each time the widget receives a value if condition is non-falsy. Formulas are given extras variables in this context:<br/>- `value`: the value received by the widget<br/>- `send(target, address, arg1, arg2, ...)`: function for sending osc messages (ignores the script's targets and the server's defaults unless `target` is `false`; ignores the script's `preArgs`)<br/>- `set(id, value)`: function for setting a widget's value |
|
||||
|
||||
### gyroscope
|
||||
|
||||
| property | type |default | description |
|
||||
| --- | --- | --- | --- |
|
||||
| <h4 class="thead2" id="gyroscope_gyroscope">gyroscope<a class="headerlink" href="#gyroscope_gyroscope" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="gyroscope_frequency">frequency<a class="headerlink" href="#gyroscope_frequency" title="Permanent link">¶</a></h4> | `number` | <code>30</code> | Value update frequency (updates per seconds) |
|
||||
| <h4 id="gyroscope_normalize">normalize<a class="headerlink" href="#gyroscope_normalize" title="Permanent link">¶</a></h4> | `boolean` | <code>true</code> | Normalize gravity related values |
|
||||
| <h4 id="gyroscope_compass">compass<a class="headerlink" href="#gyroscope_compass" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | 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 |
|
||||
| <h4 id="gyroscope_screenAdjusted">screenAdjusted<a class="headerlink" href="#gyroscope_screenAdjusted" title="Permanent link">¶</a></h4> | `boolean` | <code>false</code> | Set to `true` to return screen adjusted values |
|
||||
| <h4 class="thead2" id="gyroscope_value">value<a class="headerlink" href="#gyroscope_value" title="Permanent link">¶</a></h4> ||||
|
||||
| <h4 id="gyroscope_value">value<i class="dynamic-prop-icon" title="dynamic"></i><a class="headerlink" href="#gyroscope_value" title="Permanent link">¶</a></h4> | `object` | <code>""</code> | The gyroscope's value is an object containing multiple values, which can be used by other widgets via the property maths syntax<br/>- `value.do.alpha`: deviceorientation event alpha<br/>- `value.do.beta`: deviceorientation event beta<br/>- `value.do.gamma`: deviceorientation event gamma<br/>- `value.do.absolute`: deviceorientation event absolute<br/>- `value.dm.x`: devicemotion event acceleration x<br/>- `value.dm.y`: devicemotion event acceleration y<br/>- `value.dm.z`: devicemotion event acceleration z<br/>- `value.dm.gx`: devicemotion event accelerationIncludingGravity x<br/>- `value.dm.gy`: devicemotion event accelerationIncludingGravity y<br/>- `value.dm.gz`: devicemotion event accelerationIncludingGravity z<br/>- `value.dm.alpha`: devicemotion event rotationRate alpha<br/>- `value.dm.beta`: devicemotion event rotationRate beta<br/>- `value.dm.gamma`: devicemotion event rotationRate gamma |
|
||||
|
||||
|
||||
<script>
|
||||
document.querySelectorAll('.thead2').forEach(function(item){
|
||||
item.classList.remove('thead2')
|
||||
item.closest('tr').classList.add('thead2')
|
||||
})
|
||||
</script>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue