Close "current" popup

Hello

Just experimenting with reusable elements.

I have a close icon and just want close whichever popup I place the reusable element on. Can I do that? If so, how

Thanks

You could do it with some javascript, or with some custom state triggers…

But wither way, it would just be simpler to include a regular close button on each popup, rather than making a close button a reusable element. (or make the popup a reusable element).

1 Like

Thanks Adam, makes sense, was over-thinking it :slightly_smiling_face:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.