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

Function animateAfter

test/angular/1.2/angular-animate.js:1531–1538  ·  view source on GitHub ↗
(animationEvent, element, className, afterAnimationComplete)

Source from the content-addressed store, hash-verified

1529 }
1530
1531 function animateAfter(animationEvent, element, className, afterAnimationComplete) {
1532 if(element.data(NG_ANIMATE_CSS_DATA_KEY)) {
1533 return animateRun(animationEvent, element, className, afterAnimationComplete);
1534 } else {
1535 animateClose(element, className);
1536 afterAnimationComplete();
1537 }
1538 }
1539
1540 function animate(animationEvent, element, className, animationComplete) {
1541 //If the animateSetup function doesn't bother returning a

Callers 2

animateFunction · 0.70
angular-animate.jsFile · 0.70

Calls 3

animateRunFunction · 0.70
animateCloseFunction · 0.70
afterAnimationCompleteFunction · 0.70

Tested by

no test coverage detected