Backdrop on action running
This is a random question, but i would like to know if possible to create a fullscreen backdrop (like modal) while an Action its runnin on the background. Right now i see the loading spinning on the button itself but i would like to hook on the wire:loading to show a fullscreen backdrop.
Thanks in advance.
2 Replies
Create a livewire component that uses wire:loading to toggle is visibilty. Then use a render hook to put it somewhere on the page.
I do have both the div with the wire:loading and the livewire action, but they dont seams to link... here is the code for both:
Modal view
Action
Thanks in advance.