plots: add frame widget

This commit is contained in:
bordun 2018-08-28 17:29:56 +02:00
parent b5e7cef445
commit 7a0748355f
5 changed files with 153 additions and 2 deletions

View file

@ -308,3 +308,23 @@ Image displays an image from a file path/url or from a base64 encoded image stri
!!! tip ""
An exemple session called `svg.json` is shipped with the app.
## Frame
Frame loads and diplays an external web page, using its own value as URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc).
```js
{
type:'frame',
// etc
}
```
### `border`
- type: `boolean`
- default: `false`
- usage: set to `true` to disable the frame's borders and background-color.
!!! note ""
If `label` is set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected.