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

Did you find this page helpful?