How to listen to modal close event #1684
-
Is there a way to listen to close event on |
Beta Was this translation helpful? Give feedback.
Answered by
suraj-webkul
Oct 17, 2024
Replies: 1 comment 6 replies
-
Yes, you can listen to the close event, please checkout the following example. <x-admin::modal @close="yourFunction"> Fire event on close |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @aldoemir,
If the current modal blade component does not fully meet your requirements, you can override the modal by following these steps:
Navigate to your package's service provider and add the following to the
boot
method:This will allow you to customize the modal by publishing the relevant Blade component to your application's resources.
The remaining required changes will be included in a…