DEV Community

Discussion on: Global livewire notifications with SweetAlert

Collapse
 
ph7jack profile image
Pedro Henrique

Hello
in the key method, inform the livewire listener that will receive the event
the parameter key is to pass data to this event, like an id, name ..
the callback key is used when confirmation is denied, eg ask to delete, if the answer is no, call event X