Skip to main content
Question

Can you swap multiple components simultaneously with an onClick action?

  • March 8, 2023
  • 1 reply
  • 337 views

Stephen_Bair

I have multiple expanding/collapsing boxes. I want to collapse or expand them all at once by clicking an Expand All or Collapse All button.

Is there a way to target multiple swaps on the clicking of a different element?

Thank you!

This topic has been closed for replies.

1 reply

Pavel_Kiselev

Yeah, you can wrap them into a component set and have these states there