-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to capture Modal close event #271
Comments
Hi you can use wire:click and call your relevant livewire method when the close button is clicked |
Hi, Thanks for your reply on this one. Actually, I am asking about that little cross icon on top-right corner of the box. Seems like we don't have any control on that icon. |
Caleb mentioned that he uses |
Are you saying that we have to go back to javascript to capture this is one tiny thing. Well, this is bit annoying |
@azizabbas you could register an on click the This isn't a bug though, it's better to post these things in discussions. |
Thank you all for taking your time and reply to my post. I know how javascript works but I am using Livewire/Flux so that I dont have to write javascript. At least that is what I want at most :) Anyways, I published related Modal code and remove that little cross icon and now everything is under my control. Hopefully, in future versions of Flux we have more options and control on Modal and other components. |
Hi,
I was wondering if I can capture Modal close event.
For example, if I am using a Delete confirmation Modal. How I can capture click on little close icon on top right of the Modal?
Thanks for your help and support so far.
Aziz Abbas
The text was updated successfully, but these errors were encountered: