inspector: choices in help modal

docs: continue
This commit is contained in:
bordun 2020-04-06 16:31:38 +02:00
parent 3936d694bc
commit e1918a3e0d
4 changed files with 32 additions and 27 deletions

View file

@ -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(`