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
It is a Livewire component? 🤔
yes
The
$emitTo()
looks fine... can you share how you setup the listeners on the myComponent
?