Open action modal with javascript?
I use FullCalendar within a Livewire component. When I move an event, the
moved()
function is called. How can I trigger a modal to open when moving the event, so that the user has to confirm the action? I there any way to open the action modal instead of clicking the action button?1 Reply
I think something like this.
$emit('open-modal', 'your-action')