Get specific resource property value from data-sly-resource | Carousel component |
In the OOTB carousel we updated the HTL and kept the below code.
We are including image component in carousel
<div data-sly-repeat.item="${carousel.items}"
data-sly-resource="${item.name }"
</div>The above code generates below on the console,
How to retrieve 'alt' and 'title' from this so that can be consumed by the FE team.
Thanks,
Geo