It will be cool to have events like in other libraries.
For example:
beforeStarting: Event will be fired on the element before animation starts.
finished: Event will be fired on the element after the animation finishes.
paused: Event will be fired on the element when the animation is paused.
resumed: Event will be fired on the element when the animation is resumed.
It will be cool to have events like in other libraries.
For example:
beforeStarting: Event will be fired on the element before animation starts. finished: Event will be fired on the element after the animation finishes. paused: Event will be fired on the element when the animation is paused. resumed: Event will be fired on the element when the animation is resumed.
Something difficult?