docs: add title to dynamic marker

This commit is contained in:
jean-emmanuel 2018-02-06 15:18:28 +01:00
parent f42825314d
commit d9823c40dc
4 changed files with 15 additions and 15 deletions

View file

@ -22,14 +22,14 @@ Buttons are exactly what you think they are.
- default: `false`
- usage: set to `true` to display the toggle's state with a led
### `on`<i class="md-icon">flash_on</i>
### `on`<i class="md-icon" title="dynamic">flash_on</i>
- type: `string|number|object`
- default: `1`
- usage: defines which value is sent on `on` position
- set to `null` to send send no argument in the osc message
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
### `off`<i class="md-icon">flash_on</i>
### `off`<i class="md-icon" title="dynamic">flash_on</i>
- type: `string|number|object`
- default: `0`
- usage: defines which value is sent on `off` position
@ -47,14 +47,14 @@ Buttons are exactly what you think they are.
}
```
### `on`<i class="md-icon">flash_on</i>
### `on`<i class="md-icon" title="dynamic">flash_on</i>
- type: `string|number|object`
- default: `1`
- usage: defines which value is sent when pushing the button
- set to `null` to send send no argument in the osc message
- can be an `object` if the type needs to be specified (see [preArgs](./widgets.md#preargs))
### `off`<i class="md-icon">flash_on</i>
### `off`<i class="md-icon" title="dynamic">flash_on</i>
- type: `string|number|object`
- default: `0`
- usage: defines which value is sent when releasing the button

View file

@ -36,7 +36,7 @@ Panels can contains tabs or widgets. These can be absolutely positioned and can
- usage: each element of the `array` must be a tab `object`. A panel cannot contain widgets and tabs simultaneously.
### `variables`<i class="md-icon">flash_on</i>
### `variables`<i class="md-icon" title="dynamic">flash_on</i>
- type: `*`
- default: `@{parent.variables}`
- usage: defines one or more arbitrary variables that can be inherited by children widgets.
@ -59,7 +59,7 @@ Panels can contains tabs or widgets. These can be absolutely positioned and can
- usage: spacing size used in `layout` expression, can be set as a `[vertical,horizontal]` array.
- note: this only applies when the panel contains widgets, not tabs
### `noSync`<i class="md-icon">flash_on</i>
### `noSync`<i class="md-icon" title="dynamic">flash_on</i>
- type: `boolean`
- default: `false`
- usage: set to `true` to prevent tab changes from synchronizing between clients that share the same session file

View file

@ -40,7 +40,7 @@ All widgets share a set of generic properties described below.
- type: `number|percentage`
- default: `auto`
### `color`<i class="md-icon">flash_on</i>
### `color`<i class="md-icon" title="dynamic">flash_on</i>
- type: `string`
- default: `auto`, inherited accent color
- usage: any valid `css` color code is valid, this will change the default accent color for the widget and all its children
@ -58,21 +58,21 @@ All widgets share a set of generic properties described below.
## OSC
### `value`<i class="md-icon">flash_on</i>
### `value`<i class="md-icon" title="dynamic">flash_on</i>
- type: `*`
- default: `empty`
- usage: if set, the widget will be initialized with this `value`. This won't send any osc message unless it is changed because of a property inheritance update initiated by an action that should send osc (e.g. dragging a slider).
- note: its `type` must match the widget's value type (ie a `number` for sliders, an `array` for pads, etc).
### `precision`<i class="md-icon">flash_on</i>
### `precision`<i class="md-icon" title="dynamic">flash_on</i>
- type: `integer|string`
- default: `2`
- usage: the `precision` property defines the number of decimals to display and to send.
- set to `0` to send `integers` only.
- a specific 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
### `target`<i class="md-icon">flash_on</i>
### `target`<i class="md-icon" title="dynamic">flash_on</i>
- type: `array`
- default: `[]`
- usage:
@ -84,7 +84,7 @@ All widgets share a set of generic properties described below.
- if no target is set (empty array `[]`), messages can still be sent if the server has defaults targets (`-s / --send`)
- to disable osc regardless of the previous point, set `target` to `[null]`
### `address`<i class="md-icon">flash_on</i>
### `address`<i class="md-icon" title="dynamic">flash_on</i>
- type: `string`
- default: `/widgets_id`
- usage: this is the `address` of the osc messages sent by the widget, it must start with a `/`
@ -97,7 +97,7 @@ All widgets share a set of generic properties described below.
/touch/address [preArgs] 0/1
```
### `preArgs`<i class="md-icon">flash_on</i>
### `preArgs`<i class="md-icon" title="dynamic">flash_on</i>
- type: `array`
- default: `[]`
- usage: