Close current modal when new modal opens #564
minemindmedia
started this conversation in
4. General
Replies: 1 comment
-
Either you define them as a single component (no internal x-data, both property on the external component) or you use event to let your component communicate with each other (there are a few examples in old discussions / tickets). Each component (even nested ones) can only see its own x-data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a modal that opens for navigation and within that navigation I have a contact link that opens a new modal.
How would I go about closing the first modal once I click 'contact' to open the new modal?
kindly-
Here's the code:
Beta Was this translation helpful? Give feedback.
All reactions