state widget: don't hide value prop, add docs
This commit is contained in:
parent
4290c95c27
commit
5769d80ab3
1 changed files with 8 additions and 1 deletions
|
|
@ -31,7 +31,14 @@ class State extends Widget {
|
|||
loadLabel: {type: 'string', value: 'Load', help: 'Label for load button'},
|
||||
horizontal: {type: 'boolean', value: false, help: 'Set to `true` to display buttons horizontally'},
|
||||
|
||||
}, ['_value', 'default', 'value'])
|
||||
}, [], {
|
||||
|
||||
value: {type: 'string|object', value: '', help: [
|
||||
'- `string`: `"save"` or `"load"`',
|
||||
'- `object`: `"widget_id": VALUE` pairs',
|
||||
]}
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue