Issues in using pageproperties in Underscore JS
Hello All - I am using Underscore JS for component creation. The below snippet is not working for the page properties. Can someone tell how to address this?
<script type="text/template" id="testView">
<% _.each(test, function(test) { %>
<div class="templatetest">
<sly data-sly-test=" <% ${properties.displayimages} %> "> (This line of code doesn't work)
<img src="<%= test.image %>" class="w-full" alt="">
</sly>
</div>
<% });%>
</script>