Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

animate(pos, options) doesn't seem to be supported #141

Open
ThePromenader opened this issue Dec 6, 2013 · 1 comment
Open

animate(pos, options) doesn't seem to be supported #141

ThePromenader opened this issue Dec 6, 2013 · 1 comment

Comments

@ThePromenader
Copy link

Thanks for bringing css3 animations to jQuery users!

Just one issue: animate(pos, options) doesn't seem to be supported -

screen shot 2013-12-06 at 09 24 23

...the delay and easing option are somehow picked up, but callbacks are ignored. Is there any way I can fix this myself?

Thanks, best,

Josef.

@ThePromenader
Copy link
Author

...I managed to 'force' callback completion by setting the propertyCallback variable to 'speed.complete' (as the 'options' in a jQuery.animate(transform, options) command is being passed as 'speed' (second argument).

My problem may have something to do with the fact that I am animating two images simultaneously (and I need the queue:false option because the images must remain adjacent during the animation) - I'll test if the callbacks are being executed on a single image and let you know.

UPDATE
...apologies for this thread then, that is the problem! Callbacks on single-object animations execute perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant