cycle2 icon indicating copy to clipboard operation
cycle2 copied to clipboard

Uncaught TypeError: h.animate is not a function

Open mayurpande opened this issue 7 years ago • 2 comments

I keep getting the error;

Uncaught TypeError: h.animate is not a function
    at Object.doTransition (jquery.cycle2.js:386)
    at Object.prepareTx (jquery.cycle2.js:367)
    at jquery.cycle2.js:432

It seems strange as normally this does not happen.

mayurpande avatar Sep 28 '17 21:09 mayurpande

I've just come across this in a project I'm working on, and it turned out to be because I was using jQuery Slim rather than just standard jQuery.

jQuery Slim apparently doesn't include animation features (amongst other things)

gazchap avatar Feb 09 '18 16:02 gazchap

It's because of the jQuery version you use slim version of jQuery does not contain all the original jQuery functions. You should use a full version. You can download it from here.

pjmanikanda-ui avatar May 05 '19 06:05 pjmanikanda-ui