Hello:
I’ve this code:
<div style="background-image:url('{{urlserver}}img.php?obj_id={{id}}')" class="card-header align-items-flex-end">{{title}}</div>
<div class="card-content card-content-padding">
<p class="date">{{date}} - {{date_end}}</p>
<p>{{desc}}</p>
<p>testing: --- {{urlserver}} --- {{id}}</p>
</div>
I want to create the url of the background image with $setState and {{urlserver}} …
But inside:
style="background-image:url('{{urlserver}}img.php?obj_id={{id}}')"
it doesn’t work… don’t put the url and id…
despite under, in:
<p>testing: --- {{urlserver}} --- {{id}}</p>
it put the urlserver and id…
but not inside the style of the image…
Thanks for your answer
Asharak