MCPcopy Create free account
hub / github.com/frank-lam/fullstack-tutorial / doAnimation

Function doAnimation

notes/docsify/unpkg/gotop/jquery-2.1.0.js:6627–6635  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6625 var empty = jQuery.isEmptyObject( prop ),
6626 optall = jQuery.speed( speed, easing, callback ),
6627 doAnimation = function() {
6628 // Operate on a copy of prop so per-property easing won't be lost
6629 var anim = Animation( this, jQuery.extend( {}, prop ), optall );
6630
6631 // Empty animations, or finishing resolves immediately
6632 if ( empty || data_priv.get( this, "finish" ) ) {
6633 anim.stop( true );
6634 }
6635 };
6636 doAnimation.finish = doAnimation;
6637
6638 return empty || optall.queue === false ?

Callers

nothing calls this directly

Calls 1

AnimationFunction · 0.85

Tested by

no test coverage detected