svg: remove noborder option and add minimal doc
This commit is contained in:
parent
f3d6244277
commit
ec966f558c
2 changed files with 17 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ class Svg extends Widget {
|
|||
_svg:'svg',
|
||||
|
||||
svg:'',
|
||||
noborder: false,
|
||||
|
||||
_osc:'osc',
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue