F
Filament16mo ago
Daniel

How can I $emitTo from a Blade file?

When trying to use: wire:click="$emitTo('myComponent', 'myFunction')" on a button element in a Blade file nothing happens.
3 Replies
Dennis Koch
Dennis Koch16mo ago
It is a Livewire component? 🤔
Daniel
DanielOP16mo ago
yes
Patrick Boivin
Patrick Boivin16mo ago
The $emitTo() looks fine... can you share how you setup the listeners on the myComponent?
Want results from more Discord servers?
Add your server