inspector: choices in help modal

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

View file

@ -270,6 +270,11 @@ class UiInspector extends UiWidget {
<div class="header">
<p>Type: <code>${defaultValue.type}</code></p>
<p>Default: <code>${JSON.stringify(defaultValue.value)}</code></p>
${
defaultValue.choices ? html`
<p>Choices: ${raw(defaultValue.choices.map(x=>'<code>' + x + '</code>').join(', '))}</p>
` :''
}
<p>Dynamic: <code>${dynamic ? 'true' : 'false'}</code></p>
</div>
<div class="description">