clone: remove vars prop, add "props" prop for overriding anything
This commit is contained in:
parent
877a13a508
commit
7209a64d89
2 changed files with 16 additions and 3 deletions
|
|
@ -138,3 +138,15 @@ Modals are buttons that turn into a centered popup panels when enabled. They can
|
|||
- type: `string`
|
||||
- default: `empty`
|
||||
- usage: `id` of the widget to clone
|
||||
|
||||
### `props`
|
||||
- type: `object`
|
||||
- default: `{}`
|
||||
- usage: cloned widget's properties to override
|
||||
- example:
|
||||
```json
|
||||
{
|
||||
"variables": { "n": 2 },
|
||||
"color": "orange"
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue