I’m using the Raphael library to draw some shapes, and then animate them into view within the browser.
Is there any way I can check when one of these animations is complete in order to then trigger another function?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have just found an answer to this question, so will post for the reference of others.
Here is what I found: http://net.tutsplus.com/tutorials/javascript-ajax/an-introduction-to-the-raphael-js-library/
A callback function can be added as an argument, as detailed in chapter 6 of the above article.