Skip to main content
Question

Can you swap multiple components simultaneously with an onClick action?

  • March 8, 2023
  • 1 reply
  • 323 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.

Pavel_Kiselev

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings