From 45b8794bf612270a139e6294e8563ed128d07f68 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 13 May 2025 10:04:16 +0200 Subject: [PATCH] docs: update --- resources/docs/docs/widgets/properties-reference.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 156d4cb1..7f997a2c 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -365,7 +365,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` to limit affected widgets by the type of the first touched widget

Choices: `false`, `true`, `smart` | |
widgetType#
| `string` | "button" | Defines the type of the widgets in the matrix | - |
quantity#
| `number` | 4 | Defines the number of widgets in the matrix | + |
quantity#
| `number` | 4 | Defines the number of widgets in the matrix | |
props#
| `object` | \{
 "label": "#{$}"
}
| Defines a set of property to override the widgets' defaults.

JS{} and #{} blocks in this field are resolved with an extra variable representing each widget's index: `$` (e.g. `#{$}`)

Advanced syntax blocks (@{}, OSC{}, JS{}, VAR{} and #{}) are resolved at the matrix' scope (ie @{this.variables} returns the matrix' variables property)

Advanced syntax blocks can be passed to children without being resolved at the matrix' scope by adding an underscore before the opening bracket.

Note: unless overridden, children inherit from the matrix' `id` and osc properties (`id` and `address` are appended with `/$`) | === "value" @@ -545,6 +545,12 @@ ??? api "
frame#
" Embed a web page in a frame. Note: some websites do not allow this. + === "frame" + + | property | type |default | description | + | --- | --- | --- | --- | + |
allow#
| `string` | "" | Content for the iframe element's allow attribute | + === "value" | property | type |default | description |