MCPcopy Create free account
hub / github.com/JsAaron/jQuery / doAnimation

Function doAnimation

2.1.1/src/effects.js:479–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 var empty = jQuery.isEmptyObject( prop ),
478 optall = jQuery.speed( speed, easing, callback ),
479 doAnimation = function() {
480 // Operate on a copy of prop so per-property easing won't be lost
481 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
482
483 // Empty animations, or finishing resolves immediately
484 if ( empty || data_priv.get( this, "finish" ) ) {
485 anim.stop( true );
486 }
487 };
488 doAnimation.finish = doAnimation;
489
490 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.70

Tested by

no test coverage detected