bendc / animateplus

A+ animation module for the modern web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Best practice/function to make animated sequence

eramdam opened this issue · comments

This lib is awesome but I'm struggling to do animated sequence without ending up with a nested callbacks hell. Any best practice for this, or even better, a runSequence-like method?

Thanks! There are a few different options and the appropriate implementation will depend on the result you're looking for, but here's one possible way to do it.

@bendc Thanks! Maybe would be useful to add this simple exemple in the README ? :)