svg: remove noborder option and add minimal doc

This commit is contained in:
jean-emmanuel 2018-02-13 10:31:25 +01:00
parent f3d6244277
commit ec966f558c
2 changed files with 17 additions and 2 deletions

View file

@ -261,7 +261,23 @@ Image displays an image from a file path/url or from a base64 encoded image stri
### `value`
- type: `string`
- default: `empty`
- default: `''`
- usage : initial image
- file url or absolute path
- [base64 encoded image](https://duckduckgo.com/?q=base64+encode+image&ia=web) : `data:image/...`
## Svg
```js
{
type:'svg',
// etc
}
```
### `svg`
- type: `string`
- default: `''`
- usage : svg xml definition
- will be wrapped in a `<svg></svg>` element

View file

@ -26,7 +26,6 @@ class Svg extends Widget {
_svg:'svg',
svg:'',
noborder: false,
_osc:'osc',