function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ross McLeod 3Ross McLeod 3 

Component values within Aura iterator

Hi All

I am trying to create a component similar to the lighting accordion. The reason I am not using that is because I want to be able to add buttons and styling to the header which I don't believe is possible in the accordion.

I want to be able to use an aura iterator to render my accordion from a list. I blieve what I need to do is find a div element within each section which would contain the body of the accodion section. However what I'm unsure of is how I would go about this in my controller.

Any help and advice greatly appreciated.

Thanks

Ross