jaukia/zoomooz

Trouble using animationendcallback setting.

Opened this issue · 0 comments

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!