From 5b43251babf9a8e4a89bcfae7fb6a76063e45a1f Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 16 Sep 2020 12:57:38 +0200 Subject: [PATCH] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 5af1541a..4c27d8ad 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -83,6 +83,8 @@ | property | type |default | description | | --- | --- | --- | --- | |
label#
| `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` | + |
vertical#
| `boolean` | false | Set to `true` to display the text vertically | + |
wrap#
| `boolean` | false | Set to `true` to wrap long lines automatically. | |
on#
| `*` | 1 | Set to `null` to send send no argument in the osc message | |
off#
| `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | |
mode#
| `string` | "toggle" | Interraction mode:
- `toggle` (classic on/off switch)
- `push` (press & release)
- `tap` (no release)

Choices: `toggle`, `push`, `tap` | @@ -518,7 +520,7 @@ | property | type |default | description | | --- | --- | --- | --- | |
vertical#
| `boolean` | false | Set to `true` to display the text vertically | - |
wrap#
| `boolean` | false | Set to `true` to wrap long lines automatically.

This will not break overflowing words by default, word-breaking can be enabled by adding `word-break: break-all;` to the `css` property | + |
wrap#
| `boolean` | false | Set to `true` to wrap long lines automatically. | |
align#
| `string` | "center" | Css text-align property.

Choices: `center`, `left`, `right` | ## Pads