Handle widget type img
I'd like to have a native handling of widget type img
:
<solid-display
data-src="https://api.test3.startinblox.com/users/jbpasquier/"
fields="account.picture"
widget-account.picture="img"
label-account.picture="This is my face!"
class-account.picture="rounded"
empty-account.picture="./path/to/default.jpg">
</solid-display>
Would turn to:
<img src='${value}' title='${label}' class='${classList}' />