Navigation on hover in Actions
hi, anyway to add navigate on hover to actions that are url?
5 Replies
What are you trying to do? If I’m understanding correctly you want to navigate the user when they hover on the link instead of clicking it?
Prefetching the page on hover, like in https://livewire.laravel.com/docs/wire-navigate, I have implemented it with my own components. However, I am curious whether it is possible with vanilla Filament Actions.
Haven’t tried it but possibly with ->extrasAttributes() on the action.
Yes, I tried, but the navigation must be added to the
<a>
tag.->url() should make the action an a tag by default.
Look at the html in devtools.