AI OnAI Off
You could create display templates (https://www.jondjones.com/learn-episerver-cms/episerver-developers-tutorials/episerver-customizing-episervers-ui/how-to-render-custom-html-for-episerver-properties/) to override the rendering for the LinkItemCollection or potentially follow a solution to add html to it such as https://stefanolsen.com/posts/adding-dynamic-html-to-property-templates-in-episerver/
Html.PropertyFor should create unique id that you can
> document.getElementById("uniqueId").addEventListener("click", myJsFunction);
Hi,
We are using @Html.PropertyFor(m => m.LeftColumnLinks) for generating links. LeftColumnLinks property is of type LinkItemCollection.
Is it possible to add click event on the generated anchor tag ?