How and where to create listener for notification dispatch button event?
Where should put the listener? I tried searching for some examples but was unable to find anything.
Thanks for any help in advance...
3 Replies
You didn't provide any context but I guess you mean Livewire listeners? https://livewire.laravel.com/docs/events#listening-for-events
Laravel
Events | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
Sorry, I thought that I need to put listeners in some separate component file. Now I know where to put them... Sorry again for wasting time.
No worries π