I have a CustomHeroViewModel class
public class CustomHeroViewModel : VariantsRenderingModel
{
public string HeroTitle { get; set; }
public string HeroDescription { get; set; }
public List<string> ImageUrl { get; set; }
}
I am using the Model field in the Rendering Variant and I am able to get HeroTitle and HeroDescription Model fields in the Rendering Variant.
ImageUrl field is the List of string. How can I loop through ImageUrl and use it in the Rendering Variant?
Has anyone done something similar to that? Any help or recommendation would be appreciated
Thanks in advance