as title, I would to knoe how can I do to fired a function after the end of an event.
Thanks!
as title, I would to knoe how can I do to fired a function
Share
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.
the Fx classes all support several events:
onComplete
fires when the last animation is done.
onStart
fires when an animation begins.
onCancel
fires when you stop an animation.
also, Fx.Elements has a generic set of the same events that apply for all controlled animations.
have a look in the docs. http://mootools.net/docs/core/Fx/Fx.Morph for example – and the Fx docs. you can use any event or a combination of events.
you can also set
link: "chain"or “cancel” or “ignore” etc for advanced control.