jaukia / zoomooz

An easy-to-use jQuery plugin for making zooming web pages.
http://janne.aukia.com/zoomooz/
1.79k stars 275 forks source link

Trouble using animationendcallback setting. #116

Open jonathanrbowman opened 8 years ago

jonathanrbowman commented 8 years ago

When trying to use the animationendcallback data attribute on a zoomTarget element, I just get the following error after animation:

settings.animationendcallback.call is not a function

I've tried passing in simple javascript like a console.log, and even global functions and I still just keep getting that error. Is this an issue of me just not doing it correctly or is this a bug? If it is a problem with my code, I would love to see an example of a callback being used.

Thank you for this great, very mobile-friendly library and I'd really like to be able to use it!