inspector: small improvements on help popup
This commit is contained in:
parent
e50eaa49a4
commit
68d6dd1ea4
2 changed files with 36 additions and 8 deletions
|
|
@ -267,12 +267,17 @@ class UiInspector extends UiWidget {
|
|||
new UiModal({closable: true, title: html`<span class="editor-help-title">${name}</span>`, html: true, content: html`
|
||||
<div class="inspector-help">
|
||||
|
||||
<p>Type: <code>${defaultValue.type}</code></p>
|
||||
<p>Default: <code>${JSON.stringify(defaultValue.value)}</code></p>
|
||||
<p>Dynamic: <code>${dynamic ? 'true' : 'false'}</code></p>
|
||||
<p>Computed: <code class="pre">${computedValue}</code></p>
|
||||
|
||||
${htmlHelp}
|
||||
<div class="header">
|
||||
<p>Type: <code>${defaultValue.type}</code></p>
|
||||
<p>Default: <code>${JSON.stringify(defaultValue.value)}</code></p>
|
||||
<p>Dynamic: <code>${dynamic ? 'true' : 'false'}</code></p>
|
||||
</div>
|
||||
<div class="description">
|
||||
${htmlHelp}
|
||||
</div>
|
||||
<div class="computed">
|
||||
<p>Computed value: <code class="pre">${computedValue || "empty"}</code></p>
|
||||
</div>
|
||||
</div>
|
||||
`})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue