MCPcopy
hub / github.com/angular-ui/ui-router / afterAnimationComplete

Function afterAnimationComplete

test/angular/1.2/angular-animate.js:469–476  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

467
468 var count = 0;
469 function afterAnimationComplete(index) {
470 if(cancellations) {
471 (cancellations[index] || noop)();
472 if(++count < animations.length) return;
473 cancellations = null;
474 }
475 allCompleteFn();
476 }
477
478 //The code below adds directly to the array in order to work with
479 //both sync and async animations. Sync animations are when the done()

Callers 2

progressFunction · 0.70
animateAfterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected