Hi. Is there an event that is triggered when an interaction ends that I could use to trigger a javascript function? Specifically, I’m looking to have an element fade-out, trigger a script, and fade back in with new data (inner html). I previously was able to do it using animate.css and an event listener.
It looks like the interactions features in Pinegrow could simplify the other animations in my project, so I would be looking to replace the animate.css method with interactions in Pinegrow.
In other words, I’m looking for a way to have the end of an interaction trigger an event. Is there a practical way? I’ve looked into adding a class to an element, but it’s not clear to me how to use that to trigger a different interaction.
Thanks
JS