Event when modal has benne opened?
Is there any event getting fired when a modal has been open?
I do have to make some size calculations for a canvas width (in the modal) after it has been opened.
3 Replies
‘open-modal’ is the event that triggers it.
There is also a ‘modal-opened’ that gets fired but can’t promise that one will stay since I think it’s causing double calls to the backend.
Hm, I've tried:
but it doesn't get fired.
Might be wrong, but I believe it's a livewire event: https://livewire.laravel.com/docs/events#listening-for-livewire-events-in-script-tags
Laravel
Events | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.