Hello, i am trying to map a json array(image URL) response to the carousel component with custom js. In mapping, i bind the array to the mobilecarouse# but i need to check if the response is not empty, then map them to the image url. I check with if statement in custom js, then how can i bind the values to the carouse.
I tried: code$(element).find("[name=mobilecarousel#]").attr("data-image-url"), myvar)/code
Thanks,