F
Filament11mo 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 Koch11mo ago
It is a Livewire component? 🤔
Daniel
Daniel11mo ago
yes
Patrick Boivin
Patrick Boivin11mo ago
The $emitTo() looks fine... can you share how you setup the listeners on the myComponent?