I want to trigger something at the end of this animation, but the onAnimationEnd gets called as soon as the animation starts. Is this the right way to detect an animation end?
I don't want to use benefitsTopBar.onAnimationEnd -> because I'm calling several different animations on this layer and want to detect the end of this particular one. Thanks!
Sorry for resurrecting this old post, but you can also do the following:options:-- onEnd: ->--- layer2.animate
onAnimationEnd is an event you can listen to to trigger a function, not an option within animationOptions. See http://share.framerjs.com/mlnjj121d78p/