doc: document latest additions
This commit is contained in:
parent
775b9a6d23
commit
148a5ddce7
5 changed files with 19 additions and 6 deletions
|
|
@ -13,9 +13,12 @@ Sessions saved with this version will not be readable with older versions (old s
|
|||
- panel: added full osc support (for sending/receiving tab changes)
|
||||
- modal: changed style to fit popups' appearance; added `popupWidth` and `popupHeight` options; :warning: removed `tabs` option; added full osc support
|
||||
- strip: refactored widget using `panel` as base; added `stretch` and `spacing` option; now it's really cool
|
||||
- encoder: mousewheel support
|
||||
- sliders: added double tap support (resets the widget to its initial value)
|
||||
- knob/fader: renamed `noPip` option to `pips` (inverted behaviour; backward compatible)
|
||||
- encoder: mousewheel support
|
||||
- knob: compact design remake
|
||||
- bug fixes
|
||||
- sliders: fixed `spring` when `value` equals `0`
|
||||
- session
|
||||
- the root panel is now saved as a special `panel` widget (which means it has savable options)
|
||||
- custom module
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ Client specific options can be set by adding query parameters to the server's ur
|
|||
Supported options:
|
||||
|
||||
- `hdpi=1`: enable high resolution canvas
|
||||
- `doubletab=X`: sets the double tap/click time thershold in milliseconds (default to `375`)
|
||||
|
||||
Example:
|
||||
|
||||
|
|
@ -21,6 +22,10 @@ Example:
|
|||
|
||||
Click / Tap events are handled at pressing time, not releasing.
|
||||
|
||||
### Double Click / Tap
|
||||
|
||||
Some widgets handle double click / tap events.
|
||||
|
||||
### Right-click / Long touch
|
||||
|
||||
Widgets that have only one value input will give focus to it when receiving this event. When the editor is enabled, Right-click / Long touch spawns the editor's context menu.
|
||||
|
|
@ -56,11 +61,12 @@ By default, widget resizing / dragging snaps to a 10 pixel wide grid. Its width
|
|||
|
||||
Right clicking / long touch on a widget or on a tab will also display a context menu providing useful utilities :
|
||||
|
||||
- `copy`: copy widget's data
|
||||
- `cut`: copy widget's data and delete selected widget
|
||||
- `paste`: paste copied widget in selected container
|
||||
- `Edit parent`: selects the widget's parent for edition
|
||||
- `Copy`: copy widget's data
|
||||
- `Cut`: copy widget's data and delete selected widget
|
||||
- `Paste`: paste copied widget in selected container
|
||||
- `n+1` : increments the id of the copied widget (and all its children) before pasting
|
||||
- `clone` : paste the exact same widget
|
||||
- `Clone` : paste the exact same widget
|
||||
- `Add widget`: create a new widget in selected container
|
||||
- `Add tab`: create a new tab in selected container
|
||||
- `Delete`: delete selected tab or widget
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ It can be used to:
|
|||
|
||||
If the retreived property is an object (`[] / {}`), it can be used as is or one can retreive a specfic item from it: `@{parent.variables.0}` will try to return the first item of the parent's `variables` property.
|
||||
|
||||
Note: the root panel's `id` is `root`.
|
||||
|
||||
----
|
||||
### Basics
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ Pads are multidimensional widgets that output multiple values.
|
|||
|
||||
## XY
|
||||
|
||||
Xy reset to their initial value when receiving double tap / click events.
|
||||
|
||||
```js
|
||||
{
|
||||
type:'xy',
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Sliders
|
||||
|
||||
Sliders are unidimensional widgets that output one value at a time.
|
||||
Sliders are unidimensional widgets that output one value at a time. They reset to their initial value when receiving double tap / click events.
|
||||
|
||||
|
||||
----
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue