Listen to specific custom modal event

How can I listen to a specific custom modal when it's closing? I tried to use directive @close-modal but that doesn't work. But when I use @close-modal.window / @close-modal.outside, it works but that results the function runs many times
1 Reply
Dennis Koch
Dennis Koch5mo ago
But when I use @close-modal.window / @close-modal.outside, it works but that results the function runs many times
Isn't the modal name passed as a param?
Want results from more Discord servers?
Add your server