Can I close a popup from inside a reusable?

I have a reusable element inside a popup. Am I able to close the popup from inside the reusable element?

One of the ways to do this would be to use a custom state in the RE (parent container) so that an element of the RE, when clicked, updates this state and, as it is at the level of the parent element, it becomes available to be accessed by any event on the page . Then, using the value of that state, you can create a conditional WF that closes the popup when the condition is met.




Fantastic! Thank you. I didn’t realize work flows could be triggered by changes in custom states.

1 Like