@AaronSterling wrote:
About two weeks ago, a question came up: how to loop an Angular animation in Ionic. I built a quick demo then, and I’ve converted it into an npm library so it can be plugged in and used. Warning: it’s a bit clunky, because Angular animations are a bit clunky. But probably it’s mostly copypaste for an “end user.” The hardest part of the whole project was writing up the API. (Not a joke, that was annoying af.)
Input: an Angular keyframe animation
Output: a loopable version, where you can pause, resume, change the number of iterations, and count down in real time.
Posts: 1
Participants: 1