Please check the sample and get back to us if you need any further assistance.
ATAndrew TarrApril 13, 2020 07:20 AM
Thank you for the quick reply but I am looking for an example of how to add an accordion item which uses a template for its header and content and not just plain text. In the example provided, the "CLICK TO ADD ITEM" button adds header text and content text.How can this be modified to use the #header template html and the #content template html? Does my question make sense?
RVRavikumar Venkatesan Syncfusion Team April 14, 2020 08:31 AM
Thanks for the update.
You can use the header and content property as HTML in the AccordionItemModel like below steps and the same made in the below sample.
Step 1: Add the header and content as HTML string in the AccordionItemModel like below code.