Sib Workaround - Link with Image as anchor - no display when empty
Allow to have
- Link in model
- Image as link anchor
- If no link informed then no images show up
Template solution
<sib-widget name="social-media-widget">
<template>
<div>${value ? '<a target="_blank" href="' + value + '">' + '<img src="/static/img/' + label + '">' + '</a>' : "" }</div>
</template>
</sib-widget>
Where Value = Link Label = name of image (ie facebook.png)