On expand Accordion
436
Views
2
Comments
Out of scope
OutSystems UI

Hello! 

It would be great if there's a way to create an event for on expand the accordion.

Because we have the On Toggle, but it's getting the id from the one that is closing when I open another accordion while the last one is open. 

I would like to get the ID from the one that I'm expanding.

Hi @Verônica Batista de Oliveira ,

I just tried this out, and when you are opening another one, causing the earlier one to close, both toggle events fire, so the event about the new one opening is available.

Maybe you did a quick test with a message node in your toggle event, and in that case you will only see the last one of the 2 events, which is the toggle event of the one closing, the other message is so short you never see it, i guess.

Tip : if you want to see this yourself, use a console.log instead of a message, and you'll see both events happening.  Can't share oml here on ideas section.

see this picture, i opened item 1 , then item 3, which closed 1 as a consequence.  You see in console that all events happen, but only message from last event is visible.

Dorine

Changed the status to
Out of scope

Not an idea, this is already possible