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
gajawada vaishnavigajawada vaishnavi 

how to get id/value of lightning accordion section in lwc..Is there any way..can someone help me out?

Here In html I am using lightning accordion ..on click of that section i want to get Id of that section name so that i can use that id in apex for fetching records...this section I am using for eachthis is js...I have implemented like this..but not working..can someone check it out and respond
Best Answer chosen by gajawada vaishnavi
ravi soniravi soni

hi gajawada,
event.detail.openSections;  give the open section name then why are you using event.target.name.
please tell me your complete requirment.
thank you