From 644f739942bb76737ea9fc6cbd02ff833730d6f9 Mon Sep 17 00:00:00 2001 From: bordun Date: Sun, 4 Oct 2020 19:56:22 +0200 Subject: [PATCH] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 9b86959e..100be4bb 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -116,6 +116,8 @@ | property | type |default | description | | --- | --- | --- | --- | + | | `string`|
`boolean` | "auto" | Displayed text (defaults to current value). Keywords `%key` and `%value` will be replaced by the widget's selected key/value. | + | | `boolean` | "true" | Set to `false` to hide the dropdown icon | | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

Choices: `center`, `left`, `right` | === "dropdown" @@ -137,6 +139,8 @@ | property | type |default | description | | --- | --- | --- | --- | + | | `string`|
`boolean` | "auto" | Displayed text (defaults to current value). Keywords `%key` and `%value` will be replaced by the widget's selected key/value. | + | | `boolean` | "true" | Set to `false` to hide the dropdown icon | | | `string` | "center" | Set to `left` or `right` to change text alignment (otherwise center)

Choices: `center`, `left`, `right` | | | `string` | "center" | Set to `top` or `bottom` to change menu alignment (otherwise center)

Choices: `center`, `top`, `bottom` | | | `string` | "center" | Set to `left` or `right` to change menu alignment (otherwise center)

Choices: `center`, `left`, `right` | @@ -248,6 +252,7 @@ | | `boolean` | true | Set to `false` to make the `padding` property apply only between children and not at the container's inner boundaries. | | | `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` | | | `string`|
`boolean` | "auto" | Alternative label for the modal popup | + | | `number` | "auto" | Modal's inner spacing. | === "modal" @@ -727,10 +732,6 @@ | property | type |default | description | | --- | --- | --- | --- | |
css#
| `string` | "" | CSS rules. See documentation.

Available css variables:
- `--color-background`: `colorBg`
- `--color-widget`: `colorWidget`
- `--color-fill`: `colorFill`
- `--color-stroke`: `colorStroke`
- `--color-text`: `colorText`
- `--widget-padding`: `padding`
- `--line-width`: `lineWidth`
- `--alpha-fill-on`: `alphaFillOn`
- `--alpha-fill-off`: `alphaFillOff`
- `--alpha-stroke`: `alphaStroke`
- `--alpha-pips`: `alphaPips`
- `--alpha-pips-text`: `alphaPipsText` | - |
design#
| `string` | "default" | Design style

Note: "solid" design uses "colorStroke" for the central knob color.

Choices: `default`, `solid`, `line` | - |
pips#
| `boolean` | false | Set to `true` to show the scale's breakpoints | - |
dashed#
| `boolean`|
`array` | false | Set to `true` to display a dashed gauge. Can be set as an `array` of two numbers : `[dash_size, gap_size]` | - |
angle#
| `number` | 270 | Defines the angle's width of the knob, in degrees | === "encoder"