From 212d7dc5c07b2662a178bcfbf7c98e0d800dd384 Mon Sep 17 00:00:00 2001 From: bordun Date: Mon, 11 May 2020 19:05:50 +0200 Subject: [PATCH] docs: update --- resources/docs/docs/widgets/properties-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index e9569eb3..6e65237b 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -81,7 +81,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
label#
| `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` | + |
label#
| `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` | |
on#
| `*` | 1 | Set to `null` to send send no argument in the osc message | |
off#
| `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | |
mode#
| `string` | "toggle" | Interraction mode:
- `toggle` (classic on/off switch)
- `push` (press & release)
- `tap` (no release)

Choices: `toggle`, `push`, `tap` | @@ -355,7 +355,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
label#
| `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` | + |
label#
| `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` | |
variables#
| `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | |
traversing#
| `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 | @@ -396,7 +396,7 @@ | property | type |default | description | | --- | --- | --- | --- | - |
value#
| `string` | "" | 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) | + |
value#
| `string` | "" | External web page URL. | ??? api "
svg#
" Svg parser. @@ -710,7 +710,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
event#
| `string` | "value" | Define which events trigger the script's execution.

Choices: `value`, `keyboard` | - |
script#
| `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | + |
script#
| `script` | "" | Script executed whenever the widget's receives the defined event. See documentation. | === "event: keyboard"