Display widgets¶
Startin’blox provides a list of default widgets to display content:
solid-display-value
¶
Displays the value.
solid-display-div
¶
Displays the
value
inside a<div>
HTML tag.
solid-display-labelled-div
¶
Displays the
value
inside a<div>
HTML tag, after thelabel
contained in a<label>
HTML tag.
solid-display-multiline
¶
Displays the
value
inside a<div>
,\n
are replaced by<br>
.
solid-display-labelled-boolean
¶
Displays the label
inside a <label>
HTML tag if the value
is true.
solid-display-img
¶
Inserts the
value
as the src attribute value of an<img>
HTML tag.
solid-display-mailto
¶
Displays a link inside a
<a>
HTML tag with amailto:value
as path. If a label is defined for this field, it’s displayed as the content of the link.
solid-display-tel
¶
Displays a link inside a
<a>
HTML tag with atel:value
as path.
solid-display-link
¶
Displays a link inside a
<a>
HTML tag with the value as path, and the label as text content.
solid-display-date
¶
Displays a date in the browser’s default locale format.
solid-display-date-time
¶
Displays a date and a time in the browser’s default locale format.