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

Function animateBefore

test/angular/1.2/angular-animate.js:1523–1529  ·  view source on GitHub ↗
(animationEvent, element, className, calculationDecorator)

Source from the content-addressed store, hash-verified

1521 }
1522
1523 function animateBefore(animationEvent, element, className, calculationDecorator) {
1524 if(animateSetup(animationEvent, element, className, calculationDecorator)) {
1525 return function(cancelled) {
1526 cancelled && animateClose(element, className);
1527 };
1528 }
1529 }
1530
1531 function animateAfter(animationEvent, element, className, afterAnimationComplete) {
1532 if(element.data(NG_ANIMATE_CSS_DATA_KEY)) {

Callers 2

animateFunction · 0.70
angular-animate.jsFile · 0.70

Calls 2

animateSetupFunction · 0.70
animateCloseFunction · 0.70

Tested by

no test coverage detected