MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / prepareOutAnimation

Function prepareOutAnimation

lib/test/angular/1.4.3/angular-animate.js:1424–1434  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1422 }
1423
1424 function prepareOutAnimation() {
1425 var animator = $animateCss(clone, {
1426 addClass: NG_OUT_ANCHOR_CLASS_NAME,
1427 delay: true,
1428 from: calculateAnchorStyles(outAnchor)
1429 });
1430
1431 // read the comment within `prepareRegularAnimation` to understand
1432 // why this check is necessary
1433 return animator.$$willAnimate ? animator : null;
1434 }
1435
1436 function getClassVal(element) {
1437 return element.attr('class') || '';

Callers 1

prepareAnchoredAnimationFunction · 0.70

Calls 1

calculateAnchorStylesFunction · 0.70

Tested by

no test coverage detected