From c9bbaf0b200f8dd1fcd6bf59aca5c403da0e5fe2 Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 14 May 2020 23:28:14 +0200 Subject: [PATCH] docs: update reference --- .../docs/docs/widgets/properties-reference.md | 25 ++++++++----------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 6e65237b..c98666be 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -170,7 +170,7 @@ |
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 | - === "panel: widget container" + === "widget container" | property | type |default | description | | --- | --- | --- | --- | @@ -180,7 +180,7 @@ |
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. | - === "panel: tab container" + === "tab container" | property | type |default | description | | --- | --- | --- | --- | @@ -210,7 +210,7 @@ | | `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 | - === "modal: popup" + === "popup" | property | type |default | description | | --- | --- | --- | --- | @@ -245,17 +245,12 @@ | property | type |default | description | | --- | --- | --- | --- | |
widgetId#
| `string` | "" | `id` of the widget to clone | - - === "overrides" - - | property | type |default | description | - | --- | --- | --- | --- | |
props#
| `object` | \{} | Cloned widget's properties to override | ??? api "
matrix#
" Generic matrix for creating rows/columns of widgets. - === "matrix: widgets" + === "matrix" | property | type |default | description | | --- | --- | --- | --- | @@ -264,7 +259,7 @@ |
start#
| `integer` | 0 | First widget's index | |
props#
| `object` | \{} | Defines a set of property to override the widgets' defaults.

Formulas in this field are resolved with an extra variable representing each widget's index: `$`

Note: by default, the widgets inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | - === "matrix: layout" + === "layout" | property | type |default | description | | --- | --- | --- | --- | @@ -282,7 +277,7 @@ | --- | --- | --- | --- | |
css#
| `string` | "" | Available CSS variables:
- `--color-white:color;` (white keys color)
- `--color-black:color;` (black keys color) | - === "matrix" + === "keyboard" | property | type |default | description | | --- | --- | --- | --- | @@ -319,7 +314,7 @@ |
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 | - === "panel: widget container" + === "widget container" | property | type |default | description | | --- | --- | --- | --- | @@ -329,7 +324,7 @@ |
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. | - === "panel: tab container" + === "tab container" | property | type |default | description | | --- | --- | --- | --- | @@ -359,7 +354,7 @@ |
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 | - === "panel: widget container" + === "widget container" | property | type |default | description | | --- | --- | --- | --- | @@ -369,7 +364,7 @@ |
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. | - === "panel: tab container" + === "tab container" | property | type |default | description | | --- | --- | --- | --- |