From be083f6b341c1df293fabdf72ca48f6d73ad39b9 Mon Sep 17 00:00:00 2001 From: bordun Date: Fri, 30 Oct 2020 18:15:21 +0100 Subject: [PATCH] docs: update widget ref --- resources/docs/docs/widgets/properties-reference.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 30414203..31e0149f 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -42,6 +42,7 @@ |
alphaFillOn#
| `number` | "auto" | Fill color opacity (on). | |
lineWidth#
| `number` | "auto" | Stroke width. | |
padding#
| `number` | "auto" | Inner spacing. | + |
html#
| `string` | "" | Custom html content to be inserted in the widget (before the widget's content).

The code is automatically wrapped in <div class="html"></div>

Allowed HTML tags:

  h1-6, blockquote, p, a, ul, ol, nl, li,

  b, i, strong, em, strike, code, hr, br, div,

  table, thead, img, caption, tbody, tr, th, td, pre

Allowed attributes:

  <*>: class, style, title

  <img>: src, width, height | |
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` | @@ -456,12 +457,6 @@ ??? api "
html#
" Simple HTML parser. - === "html" - - | property | type |default | description | - | --- | --- | --- | --- | - |
html#
| `string` | "" | Allowed HTML tags:

  h1-6, blockquote, p, a, ul, ol, nl, li,

  b, i, strong, em, strike, code, hr, br, div,

  table, thead, img, caption, tbody, tr, th, td, pre

Allowed attributes:

  <*>: class, style, title

  : src, width, height | - ??? api "
image#
" Load a image (url or base64-encoded).