Widget aware of relation manager
Is it possbile to get the results from the active relationmanger tab into a widget in the header of the resource view page?
So if I had stat it would change when the relation tab changed?
3 Replies
They are all Livewire components behind the scenes, so you can dispatch events between components
Laravel
Events | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
I've used this to dispatch events between widgets on the Dashboard
should work here as well
remember to set
protected $listeners = ['someEvent']
on the widget