I cannot find any documentation. All I want to do it set jQuerys default animation speed. Something like this:
$.setDefaultAnimationSpeed = 5000; //does not wor
i dont think there is any such thing in jquery but you can try something like this
defaultAnimationSpeed = 5000; // declare a global variable
$('elem').fadeIn(defaultAnimationSpeed);
$('elem').animate({foo : bar}, defaultAnimationSpeed);
So that it will be applicable wherever it is used and also you can change it very easily. you need not change everywhere in animation.
$.fx.speeds._default = 1000; // change to whatever your desired speed
or
$.fx.speeds.jojo = 1000; // adds your own speed object to jqueryspeed
Reference: https://learn.jquery.com/effects/intro-to-effects/#jquery-fx