FilamentF
Filamentβ€’11mo ago
Tony

get resource page name

Hello

how to get page component name?
I need to get the component name elsewhere to use it to dispatch events to Livewire. Livewire.dispatchTo(componentName

I tried to create an instance of an object, but there is no name.
Screenshot_2025-02-08_at_22.21.19.png
Screenshot_2025-02-08_at_22.21.45.png
Screenshot_2025-02-08_at_22.26.33.png
Solution
damn i needed to call a static method πŸ˜…
Screenshot_2025-02-08_at_22.53.41.png
Was this page helpful?