diff --git a/resources/docs/docs/user-interface/client.md b/resources/docs/docs/user-interface/client.md index 04aec607..1e8f923e 100644 --- a/resources/docs/docs/user-interface/client.md +++ b/resources/docs/docs/user-interface/client.md @@ -28,7 +28,7 @@ - Console - Enable: toggle console's state - Clear console: remove logged messages from the console -- Virtual keyboard: (desktop only) toggle virtual keyboard (displayed only when a text input is in focus) +- Virtual keyboard: (desktop only) toggle virtual keyboard (displayed only when a text input is in focus, except for code editors in the inspector) - Fullscreen: toggle fullscreen - Prevent sleep (mobile only): attempt to prevent device from going to sleep when idle diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 40f89008..2b6b4ef0 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -194,6 +194,7 @@ |
asYouType#
| `boolean` | false | Set to `true` to make the input send its value at each keystroke | |
numeric#
| `boolean` | false | Set to `true` to allow numeric values only and display a numeric keyboard on mobile devices | |
validation#
| `string` | "" | Regular expression: if the submitted value doesn't match the regular expression, it will be reset to the last valid value.

If leading and trailing slashes are omitted, they will be added automatically and the flag will be set to "gm"

Examples:
- `^[0-9]*$` accepts digits only, any number of them
- `/^[a-zs]{0,10}$/i` accept between 0 and 10 alphabetic characters and spaces (case insensitive) | + |
maxLength#
| `number` | "" | Maximum number of characters allowed | === "scripting" @@ -413,6 +414,22 @@ | --- | --- | --- | --- | |
onValue#
| `script` | "" | Script executed when the widget's value updates. See documentation.

Canvas-based widget have their computed width and height available as local variables:
- `locals.width`
- `locals.height` | +??? api "
folder#
" + Flat container that doesn't affect layout. Mostly useful for grouping widgets in the tree. + + === "folder" + + | property | type |default | description | + | --- | --- | --- | --- | + |
variables#
| `*` | "@\{parent.variables}" | Defines one or more arbitrary variables that can be inherited by children widgets | + + === "children" + + | property | type |default | description | + | --- | --- | --- | --- | + |
widgets#
| `array` | [] | Each element of the array must be a widget object. A panel cannot contain widgets and tabs simultaneously. | + |
tabs#
| `array` | [] | Each element of the array must be a tab object. A panel cannot contain widgets and tabs simultaneously | + ??? api "
root#
" Main (unique) container