diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 4c9b6011..fa195d3d 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -220,7 +220,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
"auto" | Default browsing directory |
- | "*" | Only display files with this extension |
+ | "*" | Only display files with this extension. Multiple extensions can be specified with an array of strings (`["jpg", "jpeg"]`) |
| false | Allow selecting a folder (by pressing "open" when no file is selected) |
## Containers
@@ -238,7 +238,7 @@
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
- | "top" | Defines the position of the navigation bar if the panel contains tabs"top" | Defines the position of the navigation bar if the panel contains tabstrue | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
- | "top" | Defines the position of the navigation bar if the panel contains tabs"top" | Defines the position of the navigation bar if the panel contains tabsfalse | Set to `true` to hide the main menu button. |
=== "root"
@@ -493,7 +493,7 @@
| true | If `layout` is `vertical` or `horizontal`, prevents children from overflowing the panel. |
| true | Set to `false` to disable scrollbars |
| true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. |
- | "top" | Defines the position of the navigation bar if the panel contains tabs"top" | Defines the position of the navigation bar if the panel contains tabs"auto" | Set to `false` to hide completely\{
"min": 20,
"max": 22000
} | Defines the min and max values for the x axis (in Hz, logarithmic scale) |
+ | \{
"min": 20,
"max": 22000
} | Defines the min and max values for the x axis (in Hz, logarithmic scale)\{
"min": -6,
"max": 6
} | Defines the min and max values for the y axis (in dB) |
- | false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
- | false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
| "auto" | Defines the y axis origin. Set to `false` to disable it |
- | "" | Each item must be an object with the following properties"" | Each item must be an object with the following propertiestrue | Set to false to hide the scale |
=== "value"
@@ -706,9 +704,10 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "" | CSS rules. See documentation.20 | Defines the points' size |
+ | 20 | Defines the points' size (may be in %) |
| false | When set to `true`, the point will be drawn only while touched. |
| true | Set to `false` to hide the scale |
+ | "" | Text displayed in the handle |
=== "xy"
@@ -720,8 +719,8 @@
| \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
| false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
| false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
- | "" | Restrict movements to one of the axes only unless `Shift` is held.false | Set to `true` to make the fader reset to its default value when receiving a double tap."" | Restrict movements to one of the axes only unless `Shift` is held.false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.1 | Defines the pad's sensitivity when `snap` is `false` |
=== "scripting"
@@ -758,7 +757,7 @@
| property | type |default | description |
| --- | --- | --- | --- |
| "" | CSS rules. See documentation.20 | Defines the points' size |
+ | 20 | Defines the points' default size (may be in %) |
| false | When set to `true`, the points will be drawn only while touched. |
| true | Set to `false` to hide the scale |
@@ -767,14 +766,15 @@
| property | type |default | description |
| --- | --- | --- | --- |
| 2 | Defines the number of points on the pad[] | Defines per-point properties that are otherwise inherited from the multixy. Must be an array of objects (one per point) that may contain the following keys:false | By default, the points are dragged from their initial position.false | When set to `true`, the widget will go back to its default value when released |
| \{
"min": 0,
"max": 1
} | Defines the min and max values for the x axis |
| \{
"min": 0,
"max": 1
} | Defines the min and max values for the y axis |
| false | Set to `true` to use logarithmic scale for the x axis. Set to `-1` for exponential scale. |
| false | Set to `true` to use logarithmic scale for the y axis. Set to `-1` for exponential scale. |
- | "" | Restrict movements to one of the axes only.false | Set to `true` to make the fader reset to its default value when receiving a double tap."" | Restrict movements to one of the axes only.false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.1 | Defines the pad's sensitivity when `snap` is `false` |
=== "scripting"
@@ -835,7 +835,7 @@
| false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
| "all" | Restrict interaction to a part of the widget:false | When set to `true`, the widget will go back to its `default` value when released |
- | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
| 1 | Defines the fader's sensitivity when `snap` is `false` |
@@ -869,7 +869,7 @@
| --- | --- | --- | --- |
| "vertical" | - `vertical`: relative move in vertical motionfalse | When set to `true`, the widget will go back to its `default` value when released |
- | false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
| 1 | Defines the knob's sensitivity when `mode` is not `snap` |
@@ -936,7 +936,7 @@
| false | By default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position |
| "all" | Restrict interaction to a part of the widget:false | When set to `true`, the widget will go back to its `default` value when released |
- | false | Set to `true` to make the fader reset to its `default` value when receiving a double tap.false | Set to `true` to make the knob reset to its `default` value when receiving a double tap.\{
"min": 0,
"max": 1
} | Defines the breakpoints of the fader's scale:false | Set to `true` to use logarithmic scale. Set to `-1` for exponential scale. |
| 1 | Defines the fader's sensitivity when `snap` is `false` |