From dfaf7dfed4070eaf74d04c4d1d526d50c6a03d9d Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 10 Aug 2020 19:48:10 +0200 Subject: [PATCH] docs: update --- resources/docs/docs/midi/midi-configuration.md | 2 +- resources/docs/docs/widgets/properties-reference.md | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/resources/docs/docs/midi/midi-configuration.md b/resources/docs/docs/midi/midi-configuration.md index 2f54af5d..0ff446d6 100644 --- a/resources/docs/docs/midi/midi-configuration.md +++ b/resources/docs/docs/midi/midi-configuration.md @@ -24,7 +24,7 @@ Print the available MIDI ports to the console when the server starts. This actio Create a virtual MIDI device that will translate OSC messsages to MIDI messages - `device_name` is an arbitrary identifier that can be used as a target by widgets (see [Widget setup](#widget-setup)) -- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose names contains the string will be used (comparison is case-insensitive). +- `input` / `output` can be port numbers or strings (as reported by the `list` action). If a string is specified, the first port whose name contains the string will be used (comparison is case-insensitive). **`sysex`** diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 70da1251..8c568fb4 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -149,7 +149,7 @@ ??? api "
file#
" File/Folder selector (server-side). - === "input" + === "file" | property | type |default | description | | --- | --- | --- | --- | @@ -177,6 +177,7 @@ |
layout#
| `string` | "default" | Defines how children are laid out.

Choices: `default`, `vertical`, `horizontal`, `grid` | |
justify#
| `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
gridTemplate#
| `string`|
`number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
contain#
| `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
scroll#
| `boolean` | true | Set to `false` to disable scrollbars | |
innerPadding#
| `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | @@ -209,6 +210,7 @@ | | `string`|
`boolean` | "auto" | Set to `false` to hide completely
- Insert icons using the prefix ^ followed by the icon's name : `^play`, `^pause`, etc (see https://fontawesome.com/icons?d=gallery&s=solid&m=free)
- Icons can be transformed with the following suffixes: `.flip-[horizontal|vertical|both]`, `.rotate-[90|180|270]`, `.spin`, `.pulse`. Example: `^play.flip-horizontal` | | | `boolean` | false | Set to `true` to make the modal require a double tap to open instead of a single tap | | | `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | === "popup" @@ -219,9 +221,14 @@ | | `number`|
`percentage` | "80%" | Modal popup's size | | | `number`|
`percentage` | "auto" | Modal popup's position | | | `number`|
`percentage` | "auto" | Modal popup's position | + + === "widget container" + + | property | type |default | description | + | --- | --- | --- | --- | | | `string` | "default" | Defines how children are laid out.

Choices: `default`, `vertical`, `horizontal`, `grid` | | | `string`|
`number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | - | | `boolean` | false | Set to `true` to enable traversing gestures in this widget. Set to `smart` or `auto` to limit affected widgets by the type of the first touched widget | + | | `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | | | `boolean` | true | Set to `false` to disable scrollbars | | | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | @@ -321,6 +328,7 @@ |
layout#
| `string` | "default" | Defines how children are laid out.

Choices: `default`, `vertical`, `horizontal`, `grid` | |
justify#
| `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
gridTemplate#
| `string`|
`number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
contain#
| `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
scroll#
| `boolean` | true | Set to `false` to disable scrollbars | |
innerPadding#
| `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | @@ -361,6 +369,7 @@ |
layout#
| `string` | "default" | Defines how children are laid out.

Choices: `default`, `vertical`, `horizontal`, `grid` | |
justify#
| `string` | "start" | If `layout` is `vertical` or `horizontal`, defines how widgets should be justified.

Choices: `start`, `end`, `center`, `space-around`, `space-between` | |
gridTemplate#
| `string`|
`number` | "" | If `layout` is `grid`, can be either a number of columns of a value css grid-template definition. | + |
contain#
| `boolean` | true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. | |
scroll#
| `boolean` | true | Set to `false` to disable scrollbars | |
innerPadding#
| `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |