inspector: choices in help modal
docs: continue
This commit is contained in:
parent
3936d694bc
commit
e1918a3e0d
4 changed files with 32 additions and 27 deletions
|
|
@ -35,7 +35,7 @@ for (var propName in base) {
|
|||
|
||||
if (prop.choices) {
|
||||
if (help) help += '<br/><br/>'
|
||||
help += 'Possible values: ' + prop.choices.join(', ')
|
||||
help += 'Choices: ' + prop.choices.map(x=>'`' + x + '`').join(', ')
|
||||
}
|
||||
|
||||
doc.push(`
|
||||
|
|
@ -98,7 +98,7 @@ for (var k in widgets.categories) {
|
|||
|
||||
if (prop.choices) {
|
||||
if (help) help += '<br/><br/>'
|
||||
help += 'Possible values: ' + prop.choices.join(', ')
|
||||
help += 'Choices: ' + prop.choices.map(x=>'`' + x + '`').join(', ')
|
||||
}
|
||||
|
||||
doc.push(`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue