Animation On Action Button

hi all , i have a question . is that possible to add animation trigger on action button ? example like trigger when user touch the button and all that. any ideas ?
9 Replies
toeknee
toeknee2mo ago
When a button is clicked a loading icon is shown... What else are you looking for?
Expecto Patronum
probably like transition when user touch the action button
Expecto Patronum
Action::make('InviteUser') ->color('info') ->icon('heroicon-m-plus-circle') ->visible(auth()->user()->can('send invitation') || auth()->user()->hasRoleId(1)) ->label('Kakitangan') ->extraAttributes([ 'class' => 'transition-all' ]) i try implement like this but seems not working
toeknee
toeknee2mo ago
Have you add transition-all to the whitelist classes or in a blade somewhere
Expecto Patronum
No But i already create one in my public js folder Animation.js
toeknee
toeknee2mo ago
then did you build? The issue you have is, tailwind won't add the transition classes if it doesn't exist in a blade it is scanning or is whitelisted.
Expecto Patronum
I just create js animation in the file animation.js Can you show me how to let the extraattributes knows to use from my js file?
toeknee
toeknee2mo ago
If the animation.js is loaded then they can be used. But I am unsure what you mean without seeing the animation.js
Want results from more Discord servers?
Add your server
More Posts
Easy way to only allow registration and login via Socialite?I am looking for a way to disable login and only show a login or register button with Google/Github/Form in Livewire: Disable Submit-Button, while a file uploads?Hi, im using the Filament Form inside a Livewire component. While **uploading a large file**, the Help, Setting runtime config only for one FileUploadHi firends, Here I have a **FileUpload** that is setupped to work with **S3 pre-signed links** and My issue : After perform delete its not applaying redirectsWhen deleteign a record that uses HasRelationManagers on Edit record page it tells me Call to a memWhen selecting filters in a list of records, the widget does not updateI have an invoice resource and I have added a widget to it to calculate the total of invoices. The wAction group width suddenly becomes out of controlI don't know from where and why my action group menu width has become largen and the menu doesn't fihow to send request and get response inside action buttonIm trying to send get/post request inside action ( button in header section). I tried with route and$get() in Wizard Form is nullHi all ! I have the same problem as this topic : https://discord.com/channels/883083792112300104/115Pass parameter from URL to table header actionHi, is there a way to pass a URL parameter to an action in the table header? For example I'm on theCreated a fork of Filament-Fabricator but it brokeHey guys, this might be a bit of an odd ask, but I've been having some troubles debugging this issue