I think its easiest to use js and wait until after the animation is done, send the event to the server.
Have an example here (with alpine):
I think its easiest to use js and wait until after the animation is done, send the event to the server.
Have an example here (with alpine):